/* Portal do Fornecedor — site comercial.
   Direção (25/09/2026): parecer documentação de um produto em uso, não peça de campanha.
   Fundo branco, texto navy, cinza puxado para o azul, uma família (IBM Plex) com o Mono só para
   dado real. Nada de rótulo acima de título, palavra dourada, carimbo, ícone em caixinha, brilho
   ou grade de fundo: quem prova o produto são as telas. Visual único (claro), cores explícitas. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f4f6f9;
  --ink: #13213a;
  --text: #1e2b42;
  --muted: #58647a;
  --faint: #7d889b;
  --line: #e1e6ed;
  --line-2: #cbd3de;
  --navy: #1b4476;
  --navy-hover: #143459;
  --navy-soft: #e8eef6;
  --gold: #d4991a;
  --dark: #0f1e36;
  --on-dark: #e6ecf5;
  --on-dark-muted: #a3b2c8;
  --ok: #1d7a45;
  --bad: #b3261e;
  --sans: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 3px; }
::selection { background: #cfdcee; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.muted { color: var(--muted); }
.code { font-family: var(--mono); font-size: 0.86em; }

/* ---------- seções ---------- */
.sec { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.sec.tight { padding-block: clamp(40px, 5vw, 64px); }
.sec.flush { border-top: 0; }
.sec.alt { background: var(--surface); border-top-color: transparent; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.015em; }
.h3 { font-size: 1.2rem; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: var(--muted); max-width: 44em; }
.head { display: grid; gap: 14px; max-width: 760px; }
.head + * { margin-top: clamp(32px, 4vw, 48px); }
.opt {
  display: inline-block; font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-2);
  border-radius: 4px; padding: 0 6px; vertical-align: 2px; white-space: nowrap; line-height: 1.6;
}
.cap { font-size: 14px; color: var(--faint); margin-top: 10px; line-height: 1.5; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: var(--bg); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform 0.15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line);
}
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; }
.logo:hover { color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo small { display: block; font-weight: 400; font-size: 12px; color: var(--faint); line-height: 1.2; }
.logo span { line-height: 1.15; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav > .mm > button {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 11px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav > .mm > button:hover, .nav > .mm.open > button { background: var(--surface); color: var(--ink); }
.nav .mm > button .ic { width: 18px; height: 18px; transition: transform 0.15s; }
.nav .mm.open > button .ic { transform: rotate(180deg); }
.hdr-cta { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

.mm { position: relative; }
.mm-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-40%);
  width: min(900px, calc(100vw - 2 * var(--gutter))); background: var(--bg);
  border-radius: 8px; border: 1px solid var(--line-2); box-shadow: 0 16px 40px -18px rgba(19, 33, 58, 0.35);
  padding: 20px; display: none; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.mm.open .mm-panel { display: grid; }
.mm-panel h4 { font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 8px 6px; }
.mm-panel a { display: block; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.mm-panel a:hover { background: var(--surface); }
.mm-panel a b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.mm-panel a small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }

.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(15, 30, 54, 0.45); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--bg);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px calc(env(safe-area-inset-bottom, 0px) + 24px);
  overflow-y: auto; display: flex; flex-direction: column; gap: 18px;
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.drawer nav a { display: block; padding: 12px 2px; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer h4 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
.drawer .dm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.drawer .dm a { font-size: 15px; padding: 7px 0; color: var(--text); text-decoration: none; }

/* ---------- telas (prints) ---------- */
/* O print aparece como é: contorno de 1 px, sem moldura de navegador falsa, sem sombra. */
.shot { margin: 0; position: relative; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: #fff; }
.shot img { width: 100%; }
.shot.crop img { aspect-ratio: var(--ar, 16 / 10); object-fit: cover; object-position: top left; }
.zoom { cursor: zoom-in; }
.zoom-btn {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 6px; border: 0; cursor: zoom-in;
  display: grid; place-items: center; background: rgba(15, 30, 54, 0.8); color: #fff; opacity: 0; transition: opacity 0.15s;
}
.zoom-btn .ic { width: 20px; height: 20px; }
.shot:hover .zoom-btn, .zoom-btn:focus-visible { opacity: 1; }
@media (hover: none) { .zoom-btn { opacity: 0.85; } }

/* ---------- faixa escura com a trilha ---------- */
/* Um só gesto visual, repetido onde a página abre e onde ela fecha (topo, páginas de função,
   contato): gradiente navy e a trilha de aprovação desenhada no fundo, apagando-se sobre o texto. */
.band {
  position: relative; isolation: isolate; color: var(--on-dark);
  background: linear-gradient(160deg, #0d1b31 0%, #112746 52%, #17365f 100%);
}
.band > .wrap { position: relative; z-index: 1; }
.motif {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0.14) 42%, #000 82%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0.14) 42%, #000 82%);
}
.motif svg { width: 100%; height: 100%; display: block; }
.motif .raia path { stroke: rgba(163, 190, 222, 0.13); stroke-width: 1; fill: none; }
.motif .lig path { stroke: rgba(163, 190, 222, 0.26); stroke-width: 1.2; fill: none; stroke-linejoin: round; }
.motif .no circle { fill: #112746; stroke: rgba(163, 190, 222, 0.5); stroke-width: 1.2; }
.motif .no circle.fim { fill: rgba(163, 190, 222, 0.5); stroke: none; }
.motif .no circle.ok { fill: #d4991a; stroke: none; }
.band h1, .band h2, .band h3 { color: #fff; }
.band .form h3 { color: var(--ink); }
.band .lede { color: var(--on-dark-muted); }
.band .btn-primary { background: #fff; color: var(--ink); }
.band .btn-primary:hover { background: #dfe7f2; color: var(--ink); }
.band .link-arrow { color: #fff; }
.band .link-arrow:hover { color: #cfdcee; }
.band .crumbs, .band .crumbs a { color: var(--on-dark-muted); }
.band .crumbs a:hover { color: #fff; }
.band .shot { border-color: rgba(255, 255, 255, 0.16); }
.band .opt { color: var(--on-dark-muted); border-color: rgba(163, 178, 200, 0.4); }

/* ---------- hero ---------- */
/* A tela do produto sai da faixa e avança sobre a seção seguinte. */
.hero { padding-block: clamp(52px, 7vw, 92px) 0; }
.hero .h1 { max-width: 17em; }
.hero .lede { margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.hero-shot { margin-top: clamp(40px, 5vw, 60px); margin-bottom: calc(-1 * clamp(90px, 13vw, 200px)); position: relative; z-index: 2; }
.hero-shot .cap { color: var(--faint); }
.sec.after-hero { border-top: 0; padding-top: calc(clamp(90px, 13vw, 200px) + clamp(48px, 6vw, 80px)); }

/* ---------- sequência numerada (é ordem de verdade: fornecedor → equipe → RM) ---------- */
.seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.seq li { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.seq .n { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.seq h3 { font-size: 1.3rem; }
.seq p { color: var(--muted); font-size: 16px; }

/* ---------- temas (abas) ---------- */
.topics { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--line-2); }
.topic { border: 0; background: none; cursor: pointer; padding: 10px 0; margin-bottom: -1px; font-size: 15.5px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; }
.topic:hover { color: var(--ink); }
.topic[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--navy); }
.topic-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); padding-top: 32px; align-items: start; }
.topic-panel h3 { font-size: 1.35rem; }
.topic-panel .now { font-size: 17px; margin-top: 12px; }
.topic-panel .before { font-size: 15px; color: var(--muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.topic-panel .before b { font-weight: 600; color: var(--text); }

/* ---------- índice de funções ---------- */
.index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 36px); }
.index h3 { font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.index ul { display: grid; }
.index a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.index a b { display: block; font-weight: 600; font-size: 16.5px; }
.index a span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.index a:hover b { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- jornadas ---------- */
.tabs { display: inline-flex; gap: 0; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.tab { border: 0; background: var(--bg); padding: 9px 18px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); }
.tab + .tab { border-left: 1px solid var(--line-2); }
.tab[aria-selected='true'] { background: var(--ink); color: #fff; }
.jour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); margin-top: 28px; align-items: start; }
.steps { display: grid; }
.step {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; text-align: left; padding: 14px 4px; border: 0; border-top: 1px solid var(--line);
  background: none; cursor: pointer; color: var(--text);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--mono); font-size: 14px; color: var(--faint); padding-top: 2px; }
.step b { display: block; font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.step small { display: block; font-size: 13.5px; color: var(--faint); margin-top: 1px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 8px; display: none; }
.step:hover b { color: var(--ink); }
.step[aria-selected='true'] b { color: var(--ink); }
.step[aria-selected='true'] .n { color: var(--navy); font-weight: 600; }
.step[aria-selected='true'] p { display: block; }
.jour-view { position: sticky; top: calc(var(--header-h) + 24px); }
.jour-panel[hidden] { display: none; }

/* ---------- listas de definição (integração, segurança) ---------- */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
.dl > div { padding: 18px 0; border-top: 1px solid var(--line); }
.dl h3 { font-size: 1.05rem; }
.dl p { font-size: 15.5px; color: var(--muted); margin-top: 6px; }
.dl.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(32px, 4vw, 48px); }
.cols2 h3 { font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.plain { display: grid; }
.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }

/* ---------- app ---------- */
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.app-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.app-cols h3 { font-size: 15px; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.app-cols .plain li { font-size: 15px; }
.app-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 2vw, 22px); }
.phone { width: clamp(140px, 18vw, 230px); border-radius: clamp(22px, 3vw, 34px); padding: clamp(6px, 0.8vw, 9px); background: #0b1628; }
.phone .scr { border-radius: clamp(17px, 2.4vw, 26px); overflow: hidden; background: #fff; aspect-ratio: 390 / 844; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones .phone:nth-child(2) { margin-top: 40px; }
.scheme { display: flex; flex-direction: column; height: 100%; font-size: clamp(9px, 1vw, 12px); line-height: 1.35; color: var(--text); }
.scheme .sb { height: 12%; }
.scheme .hd { padding: 0 8% 6%; font-weight: 600; font-size: 1.4em; }
.scheme .bd { flex: 1; padding: 0 6%; display: grid; gap: 6px; align-content: start; }
.scheme .card { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.scheme .tabs2 { display: flex; justify-content: space-around; border-top: 1px solid var(--line); padding: 6px 2px 10px; font-size: 0.78em; font-weight: 600; color: var(--faint); }
.scheme .tabs2 .on { color: var(--navy); }
.app-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 18px; margin-top: 44px; }
.app-gallery figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.app-gallery .phone { width: 100%; max-width: 220px; }
.app-gallery .cap { text-align: center; margin-top: 0; max-width: 240px; }

/* ---------- áreas (tabela) ---------- */
.areas { width: 100%; border-collapse: collapse; }
.areas th, .areas td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--line); }
.areas th { width: 30%; padding-right: 32px; font-weight: 600; color: var(--ink); font-size: 16px; }
.areas td { color: var(--muted); font-size: 15.5px; }

/* ---------- onde está em uso ---------- */
.inuse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.inuse li { border-top: 2px solid var(--ink); padding-top: 14px; }
.inuse b { display: block; font-size: 16.5px; color: var(--ink); }
.inuse span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; }
.sectors { margin-top: 40px; font-size: 15.5px; color: var(--muted); }
.sectors b { color: var(--text); font-weight: 600; }
.sectors ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 32px); margin-top: 10px; }
.sectors li { padding: 8px 0; border-bottom: 1px solid var(--line-2); }

/* ---------- implantação ---------- */
.impl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.impl li { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.impl .n { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.impl b { font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.impl span { font-size: 15px; color: var(--muted); line-height: 1.55; }
.note { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 52em; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px 0; font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform 0.15s; margin-top: 2px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- contato ---------- */
.contact { border-top: 0; }
.contact .h2 { color: #fff; }
.contact .lede { color: var(--on-dark-muted); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cta-list { display: grid; gap: 14px; margin-top: 28px; }
.cta-list li { color: var(--on-dark-muted); font-size: 15.5px; padding-left: 16px; position: relative; }
.cta-list li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 7px; height: 1px; background: var(--on-dark-muted); }
.cta-list b { color: #fff; font-weight: 600; }
.contact-lines { display: grid; gap: 10px; margin-top: 28px; }
.contact-lines a, .contact-lines span { color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.form { background: var(--bg); color: var(--text); border-radius: 8px; padding: clamp(22px, 3vw, 32px); }
.form h3 { font-size: 1.35rem; }
.form > p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label small, .field legend small { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text);
  padding: 10px 12px; font: inherit; font-size: 16px;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 68, 118, 0.15); }
.field input[aria-invalid='true'], .field select[aria-invalid='true'] { border-color: var(--bad); }
.field .err { font-size: 13px; color: var(--bad); }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 10px; font-size: 14px; cursor: pointer; user-select: none; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: 0 0 auto; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; margin-top: 18px; }
.form-msg { margin-top: 14px; font-size: 15px; border-radius: 6px; padding: 12px 14px; display: none; }
.form-msg.ok { display: block; background: #e3f3ea; color: #14532d; }
.form-msg.err { display: block; background: #fbe9e7; color: #7f1d1d; }
.form-done { padding: 24px 4px; display: grid; gap: 10px; }

/* ---------- rodapé ---------- */
.ftr { background: var(--dark); color: var(--on-dark-muted); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(163, 178, 200, 0.18); }
.ftr .logo { color: #fff; }
.ftr .logo small { color: var(--on-dark-muted); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.ftr a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr li { padding: 3px 0; }
.ftr p { font-size: 15px; line-height: 1.6; margin-top: 14px; max-width: 30em; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(163, 178, 200, 0.18); font-size: 13.5px; }

/* ---------- página de módulo ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs .ic { width: 16px; height: 16px; }
.m-hero { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.m-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 60px); align-items: start; margin-top: 28px; }
.m-title { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; }
.m-tag { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--text); margin-top: 14px; }
.m-prob { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.m-prob b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.who { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.who b { color: var(--ink); font-weight: 600; }
.m-hero .hero-ctas { margin-top: 26px; }
.band .m-tag { color: #e6ecf5; }
.band .m-prob, .band .who { color: var(--on-dark-muted); }
.band .m-prob b, .band .who b { color: #fff; }
.band .code { color: var(--on-dark-muted); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.feat { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.feat h3 { font-size: 1.08rem; line-height: 1.35; }
.feat h3 .opt { margin-left: 6px; }
.feat .ben { margin-top: 6px; font-size: 16px; line-height: 1.55; }
.feat .how { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.gallery figure { margin: 0; }
.difs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.difs li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.facts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.facts h3 { font-size: 1.05rem; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.facts > div > p { margin-top: 14px; font-size: 16px; line-height: 1.65; }
.facts .plain li { font-size: 15px; }
.related { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; }
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.next h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

/* ---------- texto (privacidade, 404) ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: 1.35rem; margin-top: 36px; }
.prose p { color: var(--muted); margin-top: 10px; }

/* ---------- lightbox ---------- */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(8, 15, 28, 0.92); }
.lb-in { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 16px); }
.lb-top { display: flex; justify-content: space-between; align-items: center; color: var(--on-dark-muted); font-family: var(--mono); font-size: 13px; }
.lb-fig { margin: 0; min-height: 0; display: grid; place-items: center; }
.lb-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; background: #fff; }
.lb-cap { color: var(--on-dark); text-align: center; font-size: 15px; max-width: 900px; margin-inline: auto; }
.lb-btn { width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(163, 178, 200, 0.35); background: rgba(15, 30, 54, 0.7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav { display: flex; gap: 8px; }

/* ---------- experiência: cabeçalho sobre a faixa ---------- */
/* A primeira faixa escura sobe por baixo do cabeçalho; no topo da página, o cabeçalho fica
   transparente sobre ela (classe .clear, posta pelo site.js). Sem JS, ele segue branco. */
.hdr { transition: background-color 0.25s, border-color 0.25s; }
.top-band { margin-top: calc(-1 * var(--header-h)); }
.hero.top-band { padding-top: calc(var(--header-h) + clamp(52px, 7vw, 92px)); }
.m-hero.top-band { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 48px)); }
.hdr.clear { background: transparent; border-bottom-color: transparent; }
.hdr.clear .logo, .hdr.clear .nav > a, .hdr.clear .nav > .mm > button { color: #fff; }
.hdr.clear .logo small { color: var(--on-dark-muted); }
.hdr.clear .nav > a:hover, .hdr.clear .nav > .mm > button:hover, .hdr.clear .nav > .mm.open > button { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hdr.clear .hdr-cta { background: #fff; color: var(--ink); }
.hdr.clear .burger { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }

/* ---------- experiência: documentos andando na trilha ---------- */
.motif .pks circle { fill: #f0ce78; }

/* ---------- experiência: a tela do topo endireita ao rolar ---------- */
.js .hero-shot .shot { transform-origin: 50% 0; will-change: transform; }

/* ---------- experiência: a medição passando pelas etapas ---------- */
.sub { font-size: 15px; color: var(--text); display: grid; gap: 4px; padding-top: 6px; }
.sub li { padding-left: 14px; position: relative; }
.sub li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--muted); }
.flow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.flow-steps { display: grid; }
.fstep {
  position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 20px 0 22px;
  border-top: 1px solid var(--line-2); cursor: pointer; transition: opacity 0.25s;
}
.fstep:last-child { border-bottom: 1px solid var(--line-2); }
.fstep[aria-selected='false'] { opacity: 0.5; }
.fstep[aria-selected='false']:hover { opacity: 0.8; }
.fstep h3 { font-size: 1.25rem; }
.fstep p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.fstep .n { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 3px; }
.fstep[aria-selected='true'] .n { color: var(--navy); font-weight: 600; }

/* barra de progresso da etapa em reprodução (etapas da medição e das jornadas) */
.fstep .bar, .step .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--navy); }
.fstep[aria-selected='true'] .bar, .step[aria-selected='true'] .bar { width: 100%; }
.fstep.run .bar, .step.run .bar { animation: enche var(--dur, 5s) linear both; }
@keyframes enche { from { width: 0; } to { width: 100%; } }
.step { position: relative; }

.flow-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: 12px; padding: clamp(18px, 3vw, 36px);
  background: linear-gradient(160deg, #0d1b31 0%, #112746 52%, #17365f 100%);
}
.flow-card .cap { color: var(--on-dark-muted); margin-top: 14px; }
.doc { background: #fff; border-radius: 8px; overflow: hidden; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.doc-head b { display: block; font-size: 1.1rem; color: var(--ink); }
.doc-head span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.doc-head .valor { font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-body { padding: 16px 20px 20px; min-height: 250px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.navy { background: #e8eef6; color: var(--navy); }
.chip.gold { background: #fbefd2; color: #8a5c0c; }
.chip.ok { background: #e3f3ea; color: var(--ok); }
.doc-lines { display: grid; margin-top: 14px; }
.doc-lines li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.doc-lines i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e3f3ea; color: var(--ok); margin-top: 1px; }
.doc-lines i .ic { width: 15px; height: 15px; }
.doc-lines li.vez i { background: #fff8e8; box-shadow: inset 0 0 0 2px var(--gold); }
.doc-lines b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.doc-lines span { font-size: 13.5px; color: var(--muted); }

/* ao trocar de etapa, as linhas do documento entram uma a uma e o passo da vez pulsa */
.js [role='tabpanel']:not([hidden]) { animation: entra 0.35s var(--ease) both; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js .doc-body:not([hidden]) .chip { animation: entra 0.35s var(--ease) both; }
.js .doc-body:not([hidden]) .doc-lines li { animation: entra 0.45s var(--ease) both; animation-delay: calc(var(--i) * 140ms + 140ms); }
.js .doc-lines li.vez i { animation: vez 1.8s ease-out infinite; }
@keyframes vez {
  0% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 0 rgba(212, 153, 26, 0.45); }
  100% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 9px rgba(212, 153, 26, 0); }
}

/* ---------- experiência: entrada suave ao rolar ---------- */
/* Parte de um estado legível (nunca invisível) e só sobe; sem JS, nada disso se aplica. */
.js .rv { transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv:not(.in) { transform: translateY(22px); opacity: 0.35; }

/* ---------- experiência: índice de funções ---------- */
.index a b .ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-left: 4px; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.2s; }
.index a:hover b .ic, .index a:focus-visible b .ic { opacity: 1; transform: none; }
.btn { transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.shot.zoom img { transition: transform 0.5s var(--ease); }
.shot.zoom:hover img { transform: scale(1.012); }

/* ---------- experiência: botão de demonstração fixo no celular ---------- */
.mcta { display: none; }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow-card { position: static; order: -1; }
}
@media (max-width: 680px) {
  .mcta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    box-shadow: 0 10px 30px -10px rgba(15, 30, 54, 0.6); transform: translateY(160%); transition: transform 0.3s var(--ease);
  }
  .mcta.show { transform: none; }
  .doc-head { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv:not(.in) { transform: none; opacity: 1; }
  .fstep.run .bar, .step.run .bar { animation: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .nav > a.opt-nav { display: none; }
  .impl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index, .inuse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: inline-flex; }
  .m-hero-grid, .split, .app-grid, .cta-grid, .jour, .topic-panel, .facts { grid-template-columns: 1fr; }
  .seq { grid-template-columns: 1fr; }
  .jour-view { position: static; order: -1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .dl.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .motif { opacity: 0.55; }
  body { font-size: 16px; }
  .sectors ul, .dl, .dl.three, .cols2, .app-cols, .faq, .feats, .gallery, .difs, .impl, .fgrid, .index, .inuse { grid-template-columns: 1fr; }
  .areas th, .areas td { display: block; width: auto; padding-right: 0; }
  .areas td { border-top: 0; padding-top: 0; }
  .ftr-grid { grid-template-columns: 1fr; }
  .phones { gap: 10px; }
  .phones .phone { width: 31%; min-width: 0; border-radius: 20px; padding: 5px; }
  .phones .phone .scr { border-radius: 16px; }
  .phones .phone:nth-child(2) { margin-top: 20px; }
  .drawer .dm { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
