/* =========================================================
   Waipe + Deploy · componentes compartilhados
   Layout e ritmo inspirados em stripe.com, com a marca Waipe
   ========================================================= */

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--dark); }
strong, b { font-weight: 600; }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: var(--pill);
  background: var(--dark); color: #fff; font-weight: 600; font-size: 14px;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--tint { background: var(--surface); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--dark {
  color: rgba(255, 255, 255, .76);
  background:
    radial-gradient(60% 50% at 88% 0%, color-mix(in srgb, var(--accent) calc(.30 * 100%), transparent), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, color-mix(in srgb, var(--accent-strong) calc(.38 * 100%), transparent), transparent 70%),
    var(--dark);
}
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--row > div { max-width: 720px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.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: 20px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--accent-text);
}
.section--dark .eyebrow { color: var(--accent-soft); }
.h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03; letter-spacing: -0.035em; font-weight: 600;
  color: var(--ink); text-wrap: balance;
}
.h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 600;
  color: var(--ink); text-wrap: balance;
}
.h3 {
  font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600;
  color: var(--ink);
}
.section--dark .h2,
.section--dark .h3 { color: #fff; }
.lead {
  max-width: 660px;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6;
  color: var(--muted);
}
.section--dark .lead { color: rgba(255, 255, 255, .74); }
.muted { color: var(--muted); }
.note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 20px;
  font-size: 13px; line-height: 1.5; color: var(--muted);
}
.note .icon { width: 15px; height: 15px; margin-top: 1px; }
.section--dark .note { color: rgba(255, 255, 255, .6); }

/* Selo para conteúdo de exemplo ou a validar */
.flag {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: var(--pill);
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--warning); background: var(--warning-bg);
  vertical-align: middle; white-space: nowrap;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--pill);
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--dark); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--blue { background: var(--accent); color: #fff; }
.btn--blue:hover { background: var(--accent-strong); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--accent-tint); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); }
.btn--glass {
  background: rgba(255, 255, 255, .14); color: #fff;
  border-color: rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--link {
  min-height: 0; padding: 0; border-radius: 0;
  color: var(--accent-text);
}
.btn--link:hover { color: var(--dark); }
.section--dark .btn--link { color: var(--accent-soft); }
.section--dark .btn--link:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Selos e etiquetas ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--pill);
  border: 1px solid var(--line); background: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--muted);
  white-space: nowrap;
}
.badge .icon { width: 13px; height: 13px; }
.badge--blue { background: var(--accent-tint); border-color: transparent; color: var(--accent-text); }
.badge--dark { background: var(--dark); border-color: transparent; color: #fff; }
.badge--ok { background: var(--success-bg); border-color: transparent; color: var(--success); }
.badge--soon { background: var(--surface-2); border-color: transparent; color: var(--muted); }
/* Projeto de exemplo, ainda em validação técnica (catalogo-dados.js: validacao: true) */
.badge--validar { display: inline-flex; align-items: center; gap: 5px; justify-self: start; width: fit-content; background: #FEF3C7; border-color: transparent; color: #8A4B00; }
.badge--validar .icon { width: 13px; height: 13px; }
.ficha-validar { display: flex; gap: 10px; align-items: flex-start; max-width: 620px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #FEF3C7; font-size: 14px; line-height: 1.5; color: #5C3300; }
.ficha-validar .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: #A35A00; }
.ficha-validar b { color: #3D2200; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--pill);
  background: var(--surface-2);
  font-size: 14px; line-height: 1.4; color: var(--ink);
}
.pill .icon { width: 14px; height: 14px; color: var(--muted); }

/* ---------- Logos de terceiros ----------
   Regras (assets/logos/BRANDS.md): sem recolorir, girar, distorcer ou mudar
   transparência; o logo fica sobre um tile branco e a sombra vai no tile. */
.logo-tile {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .08);
}
.logo-tile img { width: 26px; height: 26px; object-fit: contain; }
.logo-tile--sm { width: 32px; height: 32px; border-radius: 9px; }
.logo-tile--sm img { width: 18px; height: 18px; }
.logo-tile--xs { width: 24px; height: 24px; border-radius: 7px; }
.logo-tile--xs img { width: 14px; height: 14px; }
.logo-tile--lg { width: 56px; height: 56px; border-radius: 14px; }
.logo-tile--lg img { width: 34px; height: 34px; }
.logo-tile--wide { width: auto; padding-inline: 12px; }
.logo-tile--wide img { width: auto; height: 18px; max-width: 92px; }
.logo-tile--icon { background: var(--accent-tint); color: var(--accent-text); box-shadow: none; }
.logo-tile--icon .icon { width: 16px; height: 16px; }
.logo-tile--erp { width: auto; gap: 6px; padding-inline: 10px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.logo-tile--erp .icon { width: 15px; height: 15px; color: var(--muted); }

.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.logo-group + .logo-group { margin-top: 14px; }
.logo-group__label {
  display: block; margin-bottom: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--subtle);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--ink);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.nav__logo { display: inline-flex; align-items: center; min-width: 104px; }
.nav__logo svg { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: 0; border-radius: var(--pill);
  background: none;
  font-size: 15px; font-weight: 500; opacity: .92;
  transition: background-color .15s, opacity .15s;
}
.nav__link:hover { opacity: 1; background: var(--surface-2); }
.nav__link[aria-current="page"] { opacity: 1; background: var(--surface-2); }
.nav__link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav__item:hover .nav__link .icon,
.nav__item:focus-within .nav__link .icon { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn--nav { min-height: 38px; padding: 8px 16px; font-size: 14px; background: var(--dark); color: #fff; }
.btn--nav:hover { background: var(--dark-2); }
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
  background: none;
}

/* Menu suspenso de Plataforma */
.mega {
  position: absolute; top: 100%; left: 50%;
  width: 640px; padding-top: 12px;
  transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover .mega,
.nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Fechado após clicar num link: reabre quando o mouse sai e volta */
.nav__item.is-closed .mega { opacity: 0; visibility: hidden; transform: translate(-50%, 8px); }
.mega__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 12px; border-radius: var(--radius-lg);
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
}
.mega__item { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius); transition: background-color .15s; }
.mega__item:hover { background: var(--surface); }
.mega__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--c); color: var(--c-ink);
}
.mega__icon .icon { width: 18px; height: 18px; }
.mega__title { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mega__desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mega__foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 4px; padding: 14px 12px 6px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}

/* Menu no celular */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  overflow-y: auto;
  padding: 0 var(--gutter) 40px;
  background: #fff; color: var(--ink);
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu__top svg.logo { height: 24px; width: auto; }
.mm-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; }
.mm-sub { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 4px; font-size: 16px; color: var(--muted); }
.mm-sub .swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mobile-menu .btn { width: 100%; margin-top: 28px; }

/* ---------- Camadas: cores ---------- */
.l1 { --c: var(--layer-1); --c-ink: #fff; }
.l2 { --c: var(--layer-2); --c-ink: #fff; }
.l3 { --c: var(--layer-3); --c-ink: #fff; }
.l4 { --c: var(--layer-4); --c-ink: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(80px, 10vw, 136px);
  color: var(--text);
  overflow: clip;
}
.hero--compact { padding-bottom: clamp(72px, 9vw, 112px); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
  animation: drift var(--dur, 22s) ease-in-out infinite alternate;
  will-change: transform;
}
.blob--1 { width: 62vw; height: 62vw; top: -32vw; right: -12vw; background: var(--b1); --dur: 20s; }
.blob--2 { width: 36vw; height: 36vw; top: 8%; right: 4%; background: var(--b2); opacity: .85; --dur: 26s; animation-delay: -6s; }
.blob--3 { width: 72vw; height: 72vw; bottom: -42vw; left: -22vw; background: var(--b3); --dur: 24s; }
.blob--4 { width: 30vw; height: 30vw; top: 28%; left: 32%; background: var(--b4); opacity: .7; --dur: 18s; animation-delay: -3s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 4vw, 0) scale(1.15); }
  100% { transform: translate3d(-4vw, 6vw, 0) scale(.95); }
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero .lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); }
.hero .lead strong { color: var(--ink); }
.hero .btn-row { margin-top: 36px; }
.hero .btn--light { background: var(--dark); color: #fff; }
.hero .btn--light:hover { background: var(--dark-2); }
.hero .btn--glass { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.hero .btn--glass:hover { border-color: var(--ink); background: #fff; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 5px 14px 5px 5px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: #fff; color: var(--muted);
  font-size: 14px; font-weight: 500;
}
.hero__kicker b {
  flex-shrink: 0; white-space: nowrap;
  padding: 3px 10px; border-radius: var(--pill);
  background: var(--dark); color: #fff;
  font-size: 12px; font-weight: 700;
}
.badge--deploy { background: var(--lb-night); border-color: transparent; color: #fff; }
.badge--case { background: #fff; border-color: var(--line-strong); color: var(--ink); }

/* ---------- Casos reais: selos e rótulos de métrica ---------- */
.metric-tag { display: inline-flex; margin-right: 6px; padding: 1px 7px; border-radius: var(--pill); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: 1px; }
.metric-tag--resultado { background: var(--success-bg); color: var(--success); }
.metric-tag--estimado { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.metric-tag--relato { background: #fff; color: var(--text); border: 1px dashed var(--line-strong); }
.cases-run { display: grid; gap: 8px; }
.cases-run > span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.case-chip {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius); background: var(--surface);
  font-size: 13px; line-height: 1.4; color: var(--text);
  transition: background-color .15s;
}
.case-chip:hover { background: var(--surface-2); }
.case-chip b { display: block; color: var(--ink); }
.case-chip .icon { width: 14px; height: 14px; margin-left: auto; margin-top: 3px; color: var(--subtle); flex-shrink: 0; }
.ficha-cases { max-width: 460px; margin-top: 24px; }
.ficha-cases .case-chip { background: #fff; border: 1px solid var(--line); }
.ficha-cases .case-chip:hover { border-color: var(--line-strong); }

/* Interruptor (ex.: "Com caso real") */
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__switch { position: relative; flex-shrink: 0; width: 38px; height: 22px; border-radius: var(--pill); background: var(--line-strong); transition: background-color .2s; }
.toggle__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle__switch { background: var(--dark); }
.toggle input:checked + .toggle__switch::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__switch { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Telas de exemplo (UI) ---------- */
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Conversa no estilo WhatsApp (ilustrativa) */
.chat { overflow: hidden; border-radius: var(--radius); background: #EFEAE2; }
.chat--card { box-shadow: var(--shadow-lg); }
.chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #fff; border-bottom: 1px solid #E9EDEF;
}
.chat__head .logo-tile { margin-left: auto; }
.avatar {
  display: grid; place-items: center; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-strong); color: #fff;
  font-size: 12px; font-weight: 700;
}
.avatar--muted { background: #DFE5E7; color: #54656F; }
.chat__name { font-size: 14px; font-weight: 600; line-height: 1.25; color: #111B21; }
.chat__status { font-size: 12px; line-height: 1.2; color: #667781; }
.chat__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.bubble {
  position: relative; max-width: 88%;
  padding: 7px 10px 6px; border-radius: 8px;
  font-size: 13.5px; line-height: 1.42; color: #111B21;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.bubble b { font-weight: 600; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.bubble--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.bubble__time { display: block; margin-top: 2px; text-align: right; font-size: 11px; color: #667781; }
.qr-group { display: grid; gap: 4px; align-self: flex-start; width: 88%; }
.qr {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px; border-radius: 8px; background: #fff;
  font-size: 13px; font-weight: 500; color: #027EB5;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.qr .icon { width: 14px; height: 14px; }
.chat__system {
  display: inline-flex; align-items: center; gap: 6px; align-self: center;
  padding: 4px 10px; border-radius: 8px;
  background: #fff; color: #54656F;
  font-size: 12px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.chat__system .icon { width: 14px; height: 14px; color: var(--success); }
.chat__system--warn .icon { color: var(--warning); }
.chat--animate .chat__body > * {
  opacity: 0;
  animation: pop .45s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .9s + .4s);
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Celular */
.phone {
  width: 300px; max-width: 100%;
  padding: 10px; border-radius: 42px;
  background: #121212;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2E2E2E;
}
.phone__screen {
  display: flex; flex-direction: column;
  min-height: 540px; overflow: hidden;
  border-radius: 33px; background: #EFEAE2;
}
.phone__bar {
  position: relative; height: 30px; flex-shrink: 0; background: #fff;
}
.phone__bar::after {
  content: ""; position: absolute; top: 8px; left: 50%;
  width: 84px; height: 20px; margin-left: -42px;
  border-radius: 12px; background: #121212;
}
.phone .chat { flex: 1; border-radius: 0; }
.phone--cut { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.phone--cut .phone__screen { min-height: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Janela de sistema */
.ui-window {
  overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.ui-window__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px; color: var(--muted);
}
.ui-window__dots { display: flex; gap: 6px; }
.ui-window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.ui-window__bar .logo-row { margin-left: auto; gap: 6px; }
.ui-window__body { padding: 18px; }

/* Indicadores animados */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .45); }
  70% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}
@keyframes stepOn {
  0%, 18% { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
  22%, 100% { background: var(--surface-2); color: var(--muted); box-shadow: none; }
}

/* ---------- Faixa de sistemas ---------- */
.logos-strip { padding-block: clamp(28px, 4vw, 40px) 0; }
.logos-strip__label { margin-bottom: 18px; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; padding-block: 6px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-right: 12px; padding: 7px 16px 7px 7px;
  border: 1px solid var(--line); border-radius: var(--pill);
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.logo-chip img { width: 30px; height: 30px; object-fit: contain; }
.logo-chip--wide { padding: 7px 18px; }
.logo-chip--wide img { width: auto; height: 22px; max-width: 110px; }
.logo-chip--erp .icon { width: 18px; height: 18px; margin-left: 6px; color: var(--muted); }
/* Marcas Londrisoft um pouco maiores que as de terceiros (regra de hierarquia) */
.logo-chip--own { font-weight: 600; }
.logo-chip--own img { width: 34px; height: 34px; }

/* ---------- Vídeo com capa ---------- */
.video {
  position: relative; overflow: hidden;
  max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl); background: var(--dark);
  box-shadow: var(--shadow-lg);
}
.video__media { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--dark); }
.video__play {
  position: absolute; left: 50%; bottom: clamp(14px, 3.4%, 30px);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--pill);
  background: rgba(0, 0, 0, .86); color: #fff; text-align: left;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
  transition: background-color .2s, opacity .25s;
}
.video__play:hover { background: var(--dark); }
.video__play-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--dark);
  transition: transform .2s var(--ease);
}
.video__play:hover .video__play-icon { transform: scale(1.08); }
.video__play-icon .icon { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.video__play b { display: block; font-size: 15px; line-height: 1.3; }
.video__play span span { display: block; font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .7); }
.video.is-playing .video__play { opacity: 0; pointer-events: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent-text);
}
.card__icon--dark { background: var(--dark); color: #fff; }
.card > p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.card__example {
  margin-top: auto; padding-top: 18px;
  font-size: 14px; color: var(--ink);
}
.card__example::before { content: ""; display: block; height: 1px; margin-bottom: 16px; background: var(--line); }
.card__example span {
  display: block; margin-bottom: 4px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle);
}
.card .logo-row { margin-top: 14px; }

/* ---------- Listas e respostas (UI) ---------- */
.list-ui { font-size: 13px; }
.list-ui__title { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.list-ui__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 9px 0; border-top: 1px solid var(--line);
}
.list-ui__row .avatar { width: 28px; height: 28px; font-size: 11px; }
.list-ui__row small { display: block; color: var(--muted); font-size: 12px; }
.list-ui__row strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.ask { display: grid; gap: 12px; }
.ask__q {
  justify-self: end; max-width: 85%;
  padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  background: var(--dark); color: #fff; font-size: 13.5px;
}
.ask__a { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 13.5px; color: var(--ink); }
.ask__a p + p { margin-top: 6px; }
.hbars { display: grid; gap: 8px; margin-top: 12px; }
.hbar { display: grid; grid-template-columns: 76px 1fr 40px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.hbar i { display: block; height: 8px; border-radius: 4px; background: var(--accent-tint); }
.hbar i b { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--accent); }
.hbar.is-down i b { background: var(--warning); }
.hbar strong { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Níveis ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier {
  display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.tier__name { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.tier__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.tier__desc { flex: 1; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tier__list { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; }
.tier__list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.tier--hl { border-color: var(--dark); box-shadow: var(--shadow); }

/* Como o Deploy é dimensionado: o que define o plano, sem tabela nem fórmula */
.dim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dim__card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.dim__card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.dim__ic { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.dim__ic .icon { width: 20px; height: 20px; }
.dim__tag { align-self: flex-start; margin-top: auto; padding: 5px 10px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 12.5px; font-weight: 600; }
.section-head--sub { margin: clamp(40px, 6vw, 64px) 0 20px; max-width: 720px; }
.section-head--sub .muted { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.dim-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.dim-why__card { display: flex; gap: 16px; align-items: flex-start; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); }
.dim-why__card p { margin: 8px 0 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Resultado ---------- */
.results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.result {
  display: flex; flex-direction: column;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
.result__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-text); }
.result h3 { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.result__effect { margin-top: 4px; font-size: 14px; color: var(--muted); }
.result__math {
  margin-top: auto; padding: 12px; border-radius: var(--radius-sm);
  background: var(--surface); font-size: 13px; line-height: 1.45; color: var(--ink);
}
.result__effect + .result__math { margin-top: 16px; }
/* ---------- Chamada final ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-xl);
  color: #fff; background: var(--dark);
  --b1: #303030; --b2: #57534E; --b3: #0A0A0A; --b4: #1C1917;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25)); }
.cta-band .h2 { color: #fff; }
.cta-band .lead { margin-top: 16px; color: rgba(255, 255, 255, .84); }
.cta-band__cards { display: grid; gap: 12px; }
.cta-card {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px; border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .12); color: #fff; text-align: left;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .15s;
}
.cta-card:hover { background: rgba(255, 255, 255, .2); }
.cta-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--dark); }
.cta-card b { display: block; font-size: 17px; }
.cta-card span span { display: block; font-size: 14px; color: rgba(255, 255, 255, .76); }
.cta-card > .icon { margin-left: auto; transition: transform .2s var(--ease); }
.cta-card:hover > .icon { transform: translateX(3px); }

/* ---------- Rodapé ---------- */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand svg { height: 24px; width: auto; color: var(--ink); }
.footer-brand p { max-width: 320px; margin-top: 16px; color: var(--muted); }
.site-footer h4 { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.site-footer a:not(.footer-logo) { display: block; padding: 4px 0; color: var(--muted); }
.site-footer a:not(.footer-logo):hover { color: var(--ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---------- Diálogo ---------- */
.modal {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-xl);
  color: var(--text); box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 28px 0; }
.modal__head .h3 { font-size: 22px; }
.modal__head p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.modal__body { padding: 20px 28px 28px; }
.icon-btn {
  display: grid; place-items: center; flex-shrink: 0;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--surface-2); color: var(--ink);
}
.icon-btn:hover { background: var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
.modal .btn { width: 100%; margin-top: 6px; }
.modal__done { padding: 8px 0 4px; text-align: center; }
.modal__done .card__icon { margin-inline: auto; background: var(--success-bg); color: var(--success); }

/* =========================================================
   Ficha do projeto
   ========================================================= */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-bottom: 22px; font-size: 14px; color: var(--muted);
}
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .7; }
.ficha-dor {
  max-width: 560px; margin-top: 20px;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
  color: var(--ink);
}
.facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 36px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
}
.fact dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.fact dd { margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.ficha-hero-visual { display: flex; justify-content: center; }
.ficha-hero-visual .phone { width: 320px; }

.subnav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 4px; height: 54px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__title { margin-right: 16px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.subnav a { padding: 7px 12px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color .15s, color .15s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); background: var(--surface-2); }

.block-num {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--dark); color: #fff; font-size: 13px; font-weight: 700;
}

/* Fluxo de 5 etapas */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.flow::before {
  content: ""; position: absolute; top: 42px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow__step {
  position: relative; display: flex; flex-direction: column;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 37px; right: -12px; z-index: 1;
  width: 9px; height: 9px;
  border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}
.flow__step--human { background: var(--surface); border-style: dashed; border-color: var(--line-strong); }
.flow__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  background: var(--surface-2); color: var(--ink);
  animation: stepOn 7.5s infinite; animation-delay: calc(var(--i, 0) * 1.5s);
}
.flow__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.flow__step--human .flow__kicker { color: var(--warning); }
.flow__title { margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.flow__text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.flow__logos { margin-top: auto; padding-top: 16px; gap: 6px; }

/* Régua: linha do tempo */
.regua {
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface);
}
.regua__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.regua__head .muted { margin-top: 4px; font-size: 15px; }
.regua__track { position: relative; display: flex; justify-content: space-between; margin: 32px 0 28px; }
.regua__track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: var(--line-strong); }
.regua__node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 20%; padding: 0; border: 0; background: none;
  font-size: 13px; color: var(--muted); text-align: center;
}
.regua__node b { margin-top: 6px; font-weight: 600; }
.regua__node small { font-size: 12px; color: var(--subtle); }
.regua__dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong);
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.regua__node--due .regua__dot { border-color: var(--dark); border-width: 3px; }
.regua__node:hover .regua__dot { border-color: var(--accent); }
.regua__node[aria-selected="true"] { color: var(--ink); }
.regua__node[aria-selected="true"] .regua__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
.regua__panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start;
  padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.regua__title { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.regua__panel .chat { min-height: 160px; }
.check-list { display: grid; gap: 10px; margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.card .check-list { margin-top: 14px; font-size: 14.5px; }
.rules { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: #fff; }
.rules__head { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.rules__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.rules__grid dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.rules__grid dd { margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* Camadas aplicadas ao projeto */
.layer-rows { display: grid; gap: 12px; }
.layer-row {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 230px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 20px 24px 20px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
.layer-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.layer-row__name { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--ink); }
.layer-row__name small { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--subtle); }
.layer-row__badge { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--c); color: var(--c-ink); }
.layer-row__badge .icon { width: 18px; height: 18px; }
.layer-row > p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.layer-row .logo-row, .layer-row .pill-list { justify-content: flex-end; }
.who { margin-top: 20px; }
.who .card:hover { transform: none; box-shadow: none; }

/* Como chega: abas */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--surface-2); }
.seg [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 0; border-radius: var(--pill); background: none;
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.seg [role="tab"] .icon { width: 16px; height: 16px; }
.seg [role="tab"]:hover { color: var(--ink); }
.seg [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.deliver { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 40px; }
.deliver__title { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.deliver__dl { display: grid; gap: 0; margin-top: 24px; }
.deliver__dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.deliver__dl dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.deliver__dl dd { margin-top: 6px; font-size: 16px; color: var(--ink); }
.deliver__visual { display: flex; justify-content: center; }
.deliver .phone { width: 320px; }
.list-ui__row > span:last-child { text-align: right; }

/* Resultado e calculadora */
.indicators { margin-bottom: 20px; }
.indicator { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.indicator .result__icon { margin: 0; flex-shrink: 0; }
.indicator__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.indicator b { font-size: 17px; color: var(--ink); }
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
.calc__form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; }
.calc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calc__field { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.calc__field:first-of-type { border-top: 0; }
.calc__field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.calc__help { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.input-affix {
  display: flex; align-items: stretch; margin-top: 6px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input-affix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
.input-affix span { display: flex; align-items: center; padding: 0 12px; background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.input-affix input {
  flex: 1; min-width: 0; padding: 12px; border: 0; outline: none;
  font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums;
}
.calc__result {
  position: sticky; top: calc(var(--header-h) + 76px);
  padding: 28px; border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--accent) calc(.35 * 100%), transparent), transparent 70%),
    var(--dark);
  color: rgba(255, 255, 255, .78);
}
.calc__eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.calc__total { margin-top: 6px; font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.calc__lines { margin-top: 20px; }
.calc__lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.calc__lines dd { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.calc__ret dd { font-size: 20px; color: #7BE3A4; }
.calc__hint { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.calc__formula { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.calc__conta { margin-top: 8px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.calc__conta b { color: #fff; }
.calc__conta[hidden] { display: none; }
.after { margin-top: 20px; align-items: start; }
.after__side { display: grid; gap: 20px; }
.after__side .card:hover { transform: none; box-shadow: none; }
.after__side .h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ba { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.ba__row { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr; }
.ba__row > * { padding: 14px 16px; font-size: 14.5px; line-height: 1.45; }
.ba__row + .ba__row > * { border-top: 1px solid var(--line); }
.ba__row b { color: var(--ink); }
.ba__row span:nth-child(2) { color: var(--muted); }
.ba__row span:nth-child(3) { color: var(--ink); background: rgba(238, 244, 255, .6); }
.ba__row--head > * { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.ba__row--head span:nth-child(3) { color: var(--accent-text); background: var(--accent-tint); }

/* Simulação */
.sim {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--accent) calc(.32 * 100%), transparent), transparent 70%),
    var(--dark);
  color: rgba(255, 255, 255, .78);
}
.sim .eyebrow { color: var(--accent-soft); }
.sim__quote { font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; color: #fff; }
.hl { color: var(--accent-soft); }
.sim__text { margin-top: 18px; max-width: 560px; font-size: 16px; line-height: 1.6; }
.sim-log { padding: 20px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.sim-log__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.sim-log__head > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sim-log__head .icon { width: 14px; height: 14px; }
.sim-log li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }
.sim-log b { font-family: var(--mono); font-weight: 600; color: #fff; }

/* =========================================================
   Catálogo
   ========================================================= */
.hero--catalog .lead { max-width: 720px; }
.hero--catalog .h1 { max-width: 900px; }

/* Escolha pelo resultado: cada cartão filtra o catálogo e mostra um resultado de caso real */
.rtiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.rtile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92); text-align: left; color: var(--text);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.rtile:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.rtile[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.rtile__head { display: flex; align-items: center; gap: 10px; }
.rtile__head b { font-size: 15px; line-height: 1.25; color: var(--ink); }
.rtile__icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--ink); }
.rtile__icon .icon { width: 17px; height: 17px; }
.rtile__proof { display: grid; gap: 2px; min-height: 64px; }
.rtile__proof strong { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rtile__proof span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.rtile__proof .metric-tag { justify-self: start; margin-top: 4px; }
.rtile__how { font-size: 12.5px; line-height: 1.45; color: var(--subtle); }
.rtile__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.rtile__foot .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s var(--ease); }
.rtile:hover .rtile__foot .icon { transform: translateX(3px); }
@media (max-width: 1100px) { .rtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rtiles { grid-template-columns: minmax(0, 1fr); }
  .rtile__proof { min-height: 0; }
}
.filters {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filters__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 12px; }
.seg--sm { padding: 3px; }
.seg [data-publico] {
  padding: 8px 14px; border: 0; border-radius: var(--pill); background: none;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.seg [data-publico]:hover { color: var(--ink); }
.seg [data-publico][aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 40px; max-width: 230px; padding: 0 36px 0 14px;
  text-overflow: ellipsis;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.select select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
.search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 200px; max-width: 280px;
  height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: #fff;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) calc(.2 * 100%), transparent); }
.search .icon { width: 16px; height: 16px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 14px; color: var(--ink); }
.filters__count { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.section--catalog { padding-top: clamp(24px, 4vw, 40px); }
.cat-group { padding-top: clamp(36px, 5vw, 56px); }
.cat-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cat-group__head .eyebrow { margin-bottom: 6px; }
.cat-group__title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.cat-group__desc { margin-top: 6px; font-size: 15.5px; color: var(--muted); max-width: 640px; }
.cat-group__count { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--subtle); }

.badge--line { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: box-shadow .2s, border-color .2s;
}
.pcard:hover { box-shadow: var(--shadow); border-color: transparent; }
.pcard--ficha { border-color: var(--accent-soft); background: linear-gradient(170deg, #fff 60%, var(--accent-tint)); }
.pcard__tipos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pcard__tipo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink); }
.pcard__tipo .icon { width: 13px; height: 13px; }
.pcard__title { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.pcard__outcome { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.pcard__outcome span { font-size: 13px; font-weight: 400; color: var(--muted); }
.pcard__what { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pcard__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__dl { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.pcard__dl dt { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.pcard__dl dd { margin-top: 2px; line-height: 1.45; color: var(--ink); }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.pcard__foot .badge { font-size: 11.5px; }
.pcard__cases { position: relative; z-index: 1; margin-top: 16px; }
.pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat-empty { display: grid; justify-items: center; gap: 10px; padding: 64px 16px; text-align: center; }
.cat-empty .btn { margin-top: 8px; }

.proposal { margin-top: clamp(48px, 7vw, 80px); }
.proposal:first-child { margin-top: 0; }
.proposal__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.proposal__steps li { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; font-size: 14px; line-height: 1.5; color: var(--muted); }
.proposal__steps li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; }
.proposal__steps b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ink); }

@media (max-width: 1140px) {
  .proposal__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .filters { position: static; }
  .search { max-width: none; }
  .filters__count { margin-left: 0; }
  .proposal__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .filters__inner > .seg, .select, .select select, .search { width: 100%; }
  .seg--sm [data-publico] { flex: 1; }
  .cat-group__head { flex-direction: column; align-items: flex-start; }
  .proposal__steps { grid-template-columns: minmax(0, 1fr); }
}

/* Vídeo em janela */
.modal--video { width: min(1100px, calc(100vw - 32px)); max-height: none; overflow: visible; background: #000; border-radius: var(--radius-lg); }
.modal--video video { display: block; width: 100%; height: auto; border-radius: inherit; }
.modal__x { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255, 255, 255, .92); }

/* ---------- Animação de entrada ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1140px) {
  .results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__grid,
  .cta-band,
  .dim-why { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .tiers, .dim { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }

  /* Ficha */
  .facts { grid-template-columns: repeat(2, auto); }
  .ficha-hero-visual { margin-top: 8px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow::before { display: none; }
  .flow__step:not(:last-child)::after { top: auto; right: auto; bottom: -12px; left: 38px; transform: rotate(135deg); }
  .regua__panel, .deliver, .calc, .after, .sim { grid-template-columns: minmax(0, 1fr); }
  .calc__result { position: static; }
  .layer-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .layer-row .logo-row, .layer-row .pill-list { justify-content: flex-start; }
  .rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn--nav { display: none; }
  .grid-2, .grid-4, .results { grid-template-columns: minmax(0, 1fr); }
  .video { border-radius: var(--radius-lg); }
  .video__play { gap: 10px; padding: 5px 14px 5px 5px; }
  .video__play-icon { width: 32px; height: 32px; }
  .video__play-icon .icon { width: 13px; height: 13px; }
  .video__play b { font-size: 13px; }
  .video__play span span { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  /* Ficha */
  .facts { gap: 16px 24px; }
  .ficha-hero-visual .phone, .deliver .phone { width: 290px; }
  .regua { padding: 20px; }
  .regua__node b { font-size: 11.5px; line-height: 1.25; }
  .regua__node small { display: none; }
  .regua__panel { padding: 18px; }
  .seg { display: flex; }
  .seg [role="tab"] { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: 14px; }
  .ba__row--head { display: none; }
  .ba__row { grid-template-columns: minmax(0, 1fr); }
  .ba__row > * { padding: 6px 16px; }
  .ba__row b { padding-top: 14px; }
  .ba__row span:nth-child(2)::before { content: "Antes: "; font-weight: 600; }
  .ba__row span:nth-child(3) { padding-bottom: 14px; }
  .ba__row span:nth-child(3)::before { content: "Com a régua: "; font-weight: 600; color: var(--accent-text); }
  .ba__row + .ba__row > * { border-top: 0; }
  .ba__row + .ba__row { border-top: 1px solid var(--line); }
  .calc__form, .calc__result { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 10px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
/* Fichas com vários fluxos, tabelas de dados e lista do que validar (scripts/gerar-fichas.js) */
.ficha-fluxo + .ficha-fluxo { margin-top: clamp(40px, 6vw, 64px); }
.ficha-fluxo__titulo { display: flex; align-items: center; gap: 10px; }
.ficha-fluxo__texto { max-width: 760px; margin: 8px 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.ficha-tabelas { display: grid; gap: 16px; }
.ficha-tabela { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.ficha-tabela header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ficha-tabela__nome { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.ficha-tabela__nome .icon { width: 17px; height: 17px; color: var(--muted); }
.ficha-tabela > p { margin: 8px 0 12px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ficha-tabela__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ficha-tabela table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ficha-tabela th { padding: 8px 12px; background: var(--surface); font-size: 12px; font-weight: 600; text-align: left; color: var(--muted); white-space: nowrap; }
.ficha-tabela td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text); }
.ficha-tabela td:nth-child(2) { white-space: nowrap; color: var(--muted); }
.ficha-tabela code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.ficha-validar { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ficha-validar__item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.ficha-validar__item b { font-size: 15px; color: var(--ink); }
.ficha-validar__item p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ficha-validar__estado { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: var(--pill); background: var(--warning-bg); color: var(--warning); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ficha-validar__estado .icon { width: 14px; height: 14px; }
.ficha-validar__item.is-ok .ficha-validar__estado { background: var(--success-bg); color: var(--success); }
@media (max-width: 640px) {
  .ficha-validar__item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Diagnóstico de IA: nível de maturidade + plano de ação ---------- */
.diag-promo {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--white) 0%, var(--surface) 100%);
}
.diag-promo + .cta-band { margin-top: clamp(32px, 5vw, 56px); }
.diag-promo .lead { margin-top: 16px; }
.diag-promo__steps { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.diag-promo__steps li { display: flex; gap: 14px; align-items: flex-start; }
.diag-promo__steps li > span {
  display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dark); color: #fff; font-size: 14px; font-weight: 600;
}
.diag-promo__steps p { margin: 4px 0 0; color: var(--muted); }
.diag-promo__steps b { color: var(--ink); }
.diag-promo__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.diag-promo__cta > span { font-size: 14px; color: var(--muted); }

.diag-promo__card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: 0 24px 48px -24px rgba(10, 10, 10, .22);
}
.dp-top { display: flex; justify-content: space-between; align-items: center; }
.dp-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.dp-tag { padding: 3px 10px; border-radius: 99px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.dp-nivel { margin: 14px 0 0; font-size: 18px; color: var(--muted); }
.dp-nivel b { margin-right: 6px; font-size: 32px; letter-spacing: -.02em; color: var(--ink); }
.dp-escala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.dp-escala i { height: 10px; border-radius: 99px; background: var(--line); }
.dp-escala i.is-on { background: var(--dark); }
.dp-escala i.is-meta { background: repeating-linear-gradient(-45deg, var(--line-strong) 0 4px, var(--line) 4px 8px); }
.dp-escala__k { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--subtle); }
.dp-meta { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface); font-size: 14px; color: var(--muted); }
.dp-meta b { color: var(--ink); }
.dp-plano { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dp-plano ol { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.dp-plano li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px;
}
.dp-plano em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.dp-plano b { color: var(--ink); font-weight: 600; }
.dp-plano li span { font-size: 12px; color: var(--subtle); }
@media (max-width: 900px) {
  .diag-promo { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .dp-plano li { grid-template-columns: auto 1fr; }
  .dp-plano li span { display: none; }
}

/* ===================== Página Contabilidades ===================== */
.cont-facts { grid-template-columns: repeat(3, auto); }
.cont-agent { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.cont-steps { display: grid; gap: 4px; }
.cont-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.cont-steps li:first-child { border-top: 0; padding-top: 0; }
.cont-steps li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--dark); color: #fff; }
.cont-steps b { display: block; margin-bottom: 2px; font-size: 16px; color: var(--ink); }
.kb { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.kb__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); }
.kb__bar span { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 600; }
.kb__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; overflow-x: auto; }
@media (max-width: 640px) { .kb__cols { grid-template-columns: repeat(4, minmax(150px, 1fr)); } }
.kb__col { display: grid; align-content: start; gap: 8px; }
.kb__h { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.kb__h em { font-style: normal; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--muted); }
.kb__card { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 10px; background: #fff; font-size: 12.5px; line-height: 1.4; }
.kb__card b { color: var(--ink); font-weight: 600; }
.kb__key { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; color: var(--subtle); }
.kb__meta { color: var(--muted); font-size: 11.5px; }
.kb__card--ok { border-left-color: #57534E; }
.kb__card--run { border-left-color: #A8A29E; }
.kb__card--done { border-left-color: #D6D3D1; opacity: .8; }
.cont-levels { margin-top: clamp(32px, 5vw, 56px); }
.cont-note { display: flex; gap: 10px; align-items: flex-start; max-width: 860px; margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cont-note .icon { flex-shrink: 0; margin-top: 3px; color: var(--ink); }
.cont-projs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cont-proj { color: inherit; }
.cont-proj .h3 { margin-top: 6px; }
.cont-proj__k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--subtle); }
.cont-proj > p.cont-proj__k { margin-top: 0; }
.cont-proj__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cont-method { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 960px) {
  .cont-agent { grid-template-columns: minmax(0, 1fr); }
  .cont-projs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cont-method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cont-facts { grid-template-columns: minmax(0, 1fr); }
  .cont-projs, .cont-method { grid-template-columns: minmax(0, 1fr); }
}
.cont-home { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cont-home .btn-row { margin-top: 24px; }
.kb__list { display: grid; gap: 8px; padding: 14px; }
@media (max-width: 960px) { .cont-home { grid-template-columns: minmax(0, 1fr); } }
.mega--seg { width: 540px; }
/* Página Empresas */
.emp-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.emp-area { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--ink); transition: box-shadow .2s; }
.emp-area:hover { box-shadow: var(--shadow); }
.emp-area > .icon:first-child { flex-shrink: 0; }
.emp-area > .icon:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--subtle); flex-shrink: 0; }
.emp-area b { display: block; font-size: 14px; line-height: 1.3; }
.emp-area span span { display: block; font-size: 12.5px; color: var(--muted); }
.emp-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.emp-case { color: inherit; }
.emp-case .h3 { margin-top: 6px; }
@media (max-width: 1140px) { .emp-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } .emp-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .emp-areas, .emp-cases { grid-template-columns: minmax(0, 1fr); } }
/* Menus Projetos e Casos de sucesso */
.mega--proj { width: 600px; }
.mega--casos { width: 620px; }
.mega__group { display: grid; align-content: start; gap: 2px; padding: 4px; }
.mega__gtitle { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: var(--radius); font-size: 15px; font-weight: 600; color: var(--ink); }
.mega__gtitle span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mega__gtitle:hover, .mega__link:hover { background: var(--surface); }
.mega__link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius); font-size: 14px; color: var(--text); }
.mega__link .icon { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.mega__icon--sigla { --c: var(--surface-2); --c-ink: var(--ink); font-size: 13px; font-weight: 700; }
.nav__link { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
