/* © 2026 ABC System's. Todos os direitos reservados.
   Site institucional (rascunho 11/10/2026): tema claro, marca azul/verde (SIT_IDENTIDADE), sem recursos externos. */
:root {
  --navy: #184769;
  --navy-900: #0f2f47;
  --teal: #14a7a3;
  --teal-700: #0e7f7c;
  --ink: #13263a;
  --muted: #566778;
  --bg: #f6f9fb;
  --card: #ffffff;
  --line: #dfe7ee;
  --soft-teal: #e4f5f4;
  --soft-navy: #eaf0f6;
  --ok: #1f8a5b;
  --ok-bg: #e3f4ec;
  --dev: #a86a08;
  --dev-bg: #fbf0dc;
  --wait: #2f6690;
  --wait-bg: #e6eff7;
  --off: #8a96a3;
  --off-bg: #eef1f4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 47, 71, .05), 0 8px 28px rgba(15, 47, 71, .07);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Barra superior */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(246, 249, 251, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(223, 231, 238, .8); }
.topo-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.marca img { display: block; height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; padding: 8px 10px; border-radius: 9px; }
.nav > a:not(.btn):hover { background: var(--soft-navy); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--navy); font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.idiomas { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin: 0 6px; background: var(--card); }
.idiomas button { border: 0; background: transparent; font: inherit; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.idiomas button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 13px 22px; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(24, 71, 105, .22); }
.btn-primario:hover { background: var(--navy-900); }
.btn-contorno { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-contorno:hover { background: var(--soft-navy); }
.btn-pequeno { padding: 8px 16px; font-size: .9rem; border-radius: 10px; margin-left: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 16px 64px; background: radial-gradient(1100px 520px at 85% -10%, var(--soft-teal), transparent 60%), radial-gradient(900px 480px at -10% 110%, var(--soft-navy), transparent 60%); }
.hero-seta { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero-seta-linha { stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: desenhar 2.6s ease-out .2s forwards; }
@keyframes desenhar { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--teal-700); margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.publico { font-size: .92rem; color: var(--muted); }

/* Trilha do documento */
.fluxo { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px 24px 18px; }
.fluxo-titulo { font-weight: 800; color: var(--navy-900); font-size: 1.05rem; margin-bottom: 14px; }
.fluxo-trilha { list-style: none; margin: 0; padding: 0; position: relative; }
.fluxo-trilha::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--navy), var(--teal)); opacity: .25; }
.passo { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 9px 0; }
.passo-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--navy); background: var(--soft-navy); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); position: relative; z-index: 1; animation: passo 9s infinite; }
.passo-t { font-weight: 700; color: var(--navy-900); display: block; }
.passo-d { font-size: .9rem; color: var(--muted); display: block; }
.passo:nth-child(1) .passo-n { animation-delay: 0s; }
.passo:nth-child(2) .passo-n { animation-delay: 1.5s; }
.passo:nth-child(3) .passo-n { animation-delay: 3s; }
.passo:nth-child(4) .passo-n { animation-delay: 4.5s; }
.passo:nth-child(5) .passo-n { animation-delay: 6s; }
.passo:nth-child(6) .passo-n { animation-delay: 7.5s; }
@keyframes passo {
  0%, 16% { background: var(--teal); color: #fff; box-shadow: 0 0 0 6px rgba(20, 167, 163, .18); }
  22%, 100% { background: var(--soft-navy); color: var(--navy); box-shadow: 0 0 0 1px var(--line); }
}
.fluxo-legenda { font-size: .88rem; color: var(--muted); margin: 12px 0 0; border-top: 1px dashed var(--line); padding-top: 12px; }

/* Seções */
.secao { padding: 76px 16px; }
.secao-in { max-width: var(--wrap); margin: 0 auto; }
.secao-tinta { background: linear-gradient(180deg, #fff, var(--soft-navy)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.secao-clara { background: #fff; }
.nota { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* Compras (ABC#7208): seis etapas lado a lado, em coluna no celular */
.cmp-trilha { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.cmp-etapa { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.cmp-etapa:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 22px; color: var(--teal); font-weight: 800; z-index: 1; }
.cmp-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); }

/* Módulos */
.modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.modulo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.modulo-sigla { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: .8rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal)); margin-bottom: 12px; letter-spacing: .03em; }
.modulo p { color: var(--muted); font-size: .94rem; flex: 1; }
.modulo details { border-top: 1px solid var(--line); padding-top: 10px; }
.modulo summary { cursor: pointer; font-weight: 700; color: var(--teal-700); font-size: .9rem; list-style: none; }
.modulo summary::-webkit-details-marker { display: none; }
.modulo summary::after { content: " +"; }
.modulo details[open] summary::after { content: " −"; }
.modulo ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.modulo li { font-size: .8rem; background: var(--soft-navy); color: var(--navy-900); border-radius: 999px; padding: 4px 10px; }

/* Mapa fiscal */
.perfis { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.perfil { font: inherit; font-size: .9rem; font-weight: 700; color: var(--navy); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer; transition: all .15s ease; }
.perfil:hover { border-color: var(--teal); }
.perfil[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(24, 71, 105, .2); }
.mapa { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 20px; }
.mapa-resumo { font-weight: 700; color: var(--navy-900); margin-bottom: 12px; }
.tabela-rolagem { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mapa-tabela { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.mapa-tabela th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mapa-tabela td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mapa-tabela tr:last-child td { border-bottom: 0; }
.mapa-tabela tr.nao-aplica td:first-child, .mapa-tabela tr.nao-aplica td:nth-child(2), .mapa-tabela tr.nao-aplica td:nth-child(3) { color: var(--off); }
.mapa-tabela .informe { font-weight: 700; }
.mapa-tabela .sem-abc { color: var(--off); }
.mapa-tabela .motivo { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.chip { display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.chip-APLICA, .chip-DISPONIVEL { background: var(--ok-bg); color: var(--ok); }
.chip-NAO_APLICA, .chip-NAO_IMPLEMENTADO { background: var(--off-bg); color: var(--off); }
.chip-VERIFICAR, .chip-INDICADOR { background: var(--wait-bg); color: var(--wait); }
.chip-EM_DESENVOLVIMENTO, .chip-DEPENDE_CONTABILIDADE { background: var(--dev-bg); color: var(--dev); }
.capacidades { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 22px; }
.cap-bloco { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cap-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cap-lista li { position: relative; padding-left: 28px; font-size: .95rem; }
.cap-lista li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-bg); box-shadow: inset 0 0 0 5px var(--ok); }
.cap-dev { background: linear-gradient(180deg, #fff, #fffaf1); }
.cap-dev .cap-lista li::before { background: var(--dev-bg); box-shadow: inset 0 0 0 5px var(--dev); }

/* Calculadora de arredondamento */
.calc { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; max-width: 640px; }
.calc label { font-weight: 700; font-size: .9rem; color: var(--muted); }
.calc input { font: inherit; font-size: 1.4rem; font-weight: 800; color: var(--navy-900); border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; max-width: 260px; }
.calc input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(20, 167, 163, .15); }
.calc-res { font-weight: 700; color: var(--teal-700); font-size: 1.02rem; }

/* Números */
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.numero { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.numero strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; background: linear-gradient(90deg, var(--navy), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.numero span { color: var(--muted); font-size: .94rem; }

/* Arthur */
.arthur { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pontos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.pontos li { padding: 14px 16px; border-radius: var(--radius); background: var(--soft-teal); }
.pontos strong { display: block; color: var(--navy-900); }
.pontos span { color: var(--muted); font-size: .93rem; }
.chat { background: linear-gradient(160deg, var(--navy-900), var(--navy)); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.chat-aviso { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--navy-900); background: #ffd88a; border-radius: 6px; padding: 3px 8px; margin-bottom: 16px; }
.bolha { border-radius: 16px; padding: 14px 16px; margin: 0 0 12px; font-size: .95rem; max-width: 92%; }
.bolha-usuario { background: rgba(255, 255, 255, .12); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bolha-arthur { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.bolha-nome { display: block; font-size: .75rem; font-weight: 800; color: var(--teal-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

/* Plataforma */
.plataforma { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.plat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.plat svg { width: 30px; height: 30px; color: var(--teal-700); margin-bottom: 10px; }
.plat strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.plat span { color: var(--muted); font-size: .9rem; }

/* Acesso e contato */
.contato { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.pendente { border: 2px dashed #e0b45c; background: #fffaf0; color: #7a5410; border-radius: var(--radius); padding: 16px 18px; font-weight: 600; }

/* Rodapé */
.rodape { background: var(--navy-900); color: #cfdbe6; padding: 28px 16px; }
.rodape-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.rodape img { border-radius: 10px; }
.rodape p { margin: 0; font-size: .9rem; }
.rodape-prop { opacity: .75; font-size: .82rem !important; }
.rodape a { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; font-size: .9rem; }

/* Responsivo */
@media (max-width: 980px) {
  .cmp-trilha { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-etapa:nth-child(3n)::after { content: none; }
  .hero-seta { display: none; }
  .hero-in, .arthur, .contato, .capacidades { grid-template-columns: 1fr; gap: 32px; }
  .plataforma { grid-template-columns: repeat(2, 1fr); }
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--card); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow); }
  .nav.aberta { display: flex; }
  .nav > a:not(.btn) { padding: 12px 8px; }
  .idiomas { align-self: flex-start; margin: 8px 0; }
  .btn-pequeno { margin: 6px 0 0; }
  .topo-in { position: relative; }
}
@media (max-width: 640px) {
  .cmp-trilha { grid-template-columns: 1fr; }
  .cmp-etapa::after { content: none !important; }
  .mapa { padding: 14px; }
  .mapa-tabela { min-width: 0; font-size: .88rem; table-layout: fixed; }
  .mapa-tabela th:nth-child(1) { width: 40%; }
  .mapa-tabela th:nth-child(4) { width: 22%; }
  .mapa-tabela th:nth-child(5) { width: 38%; }
  .mapa-tabela td:nth-child(4), .mapa-tabela td:nth-child(5) { padding-left: 3px; padding-right: 3px; }
  .mapa-tabela .chip { font-size: .7rem; padding: 3px 7px; }
  .mapa-tabela th:nth-child(2), .mapa-tabela th:nth-child(3), .mapa-tabela td:nth-child(2), .mapa-tabela td:nth-child(3) { display: none; }
  .mapa-tabela th, .mapa-tabela td { padding: 10px 6px; }
  .chip { white-space: normal; line-height: 1.25; text-align: center; }
}
@media (max-width: 560px) {
  .secao { padding: 56px 16px; }
  .hero { padding: 36px 16px 48px; }
  .plataforma, .numeros { grid-template-columns: 1fr; }
  .marca img { height: 40px; }
  .rodape-in { flex-wrap: wrap; }
  .rodape a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-seta-linha { animation: none; stroke-dashoffset: 0; }
  .passo-n { animation: none; }
  .btn { transition: none; }
}
@media print {
  .topo, .hero-seta, .menu-btn, .idiomas { display: none !important; }
  .passo-n { animation: none; }
  .secao, .hero { padding: 24px 0; }
}
.contato-email { font-size: 1.1rem; font-weight: 600; margin-top: 14px; }
.contato-email a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Telefones e QR vCard do contato (ABC#7235): o QR é o mesmo do cartão de visita. */
.contato-fones { margin-top: 14px; font-size: 1.1rem; font-weight: 600; }
.contato-fones ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.contato-fones li { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; }
.contato-pais { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); }
.contato-fones a { color: var(--navy); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.contato-fones a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contato-qr { margin: 0; justify-self: end; text-align: center; }
.qr-ladrilho { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px; }
.qr-svg { display: block; width: 200px; height: 200px; }
.contato-qr figcaption { margin: 10px auto 0; max-width: 238px; font-size: .88rem; color: var(--muted); }
@media (max-width: 980px) {
  .contato-qr { justify-self: start; text-align: left; }
  .contato-qr figcaption { margin-left: 0; }
}

/* App para o celular (ABC#7219): só aparece com o APK publicado em /download/. */
.app-celular .app-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 8px; }
.app-celular .app-versao { color: var(--muted); font-size: .9rem; }
.app-celular .app-nota { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }

/* Módulos na barra (ABC#7252): submenu com a visão geral e as subpáginas */
.nav-grupo { position: relative; }
.nav-abre { border: 0; background: transparent; font: inherit; font-size: .93rem; font-weight: 600; color: var(--ink); padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.nav-abre::after { content: " ▾"; font-size: .8em; color: var(--muted); }
.nav-abre:hover, .nav-abre[aria-expanded="true"] { background: var(--soft-navy); }
.nav-painel { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: min(560px, 90vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nav-painel.aberto { display: grid; }
.nav-painel a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; padding: 9px 12px; border-radius: 9px; }
.nav-painel a:hover { background: var(--soft-navy); }
.nav-painel .nav-visao { grid-column: 1 / -1; color: var(--teal-700); border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; margin-bottom: 4px; }
.modulo-link { font-weight: 700; color: var(--navy); text-decoration: none; margin: 0 0 12px; font-size: .92rem; }
.modulo-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Subpágina do módulo */
.hero-modulo { padding: 34px 16px 46px; }
.trilha { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.trilha a { color: var(--navy); text-decoration: none; font-weight: 600; }
.trilha a:hover { text-decoration: underline; }
.hero-modulo-in { display: flex; gap: 20px; align-items: flex-start; }
.hero-modulo-in .modulo-sigla { width: 64px; height: 64px; font-size: 1rem; border-radius: 16px; flex: none; margin: 6px 0 0; }
.hero-modulo h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pagina-modulo .secao { padding: 56px 16px; }
.mp-trilha-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-trilha-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp-trilha-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.capacidades-1 { grid-template-columns: 1fr; max-width: 760px; }
.mp-rotinas { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-rotinas li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--navy-900); }
.mp-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.mp-cta .acoes { margin: 0; }
.mp-cta button.btn { font: inherit; font-weight: 700; cursor: pointer; }
.mp-outros { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 18px; }
.mp-outro { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; text-decoration: none; color: var(--navy-900); font-weight: 700; font-size: .93rem; }
.mp-outro:hover { box-shadow: var(--shadow); }
.mp-outro .modulo-sigla { width: 34px; height: 34px; font-size: .68rem; border-radius: 9px; margin: 0; flex: none; }

/* Arthur no site (ABC#7218): botão fixo no canto e conversa em balões, sem janela do navegador */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arthur-site { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.arthur-site-btn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--navy); color: #fff; font: inherit; font-weight: 700; padding: 6px 18px 6px 6px; border-radius: 999px; box-shadow: 0 10px 28px rgba(15, 47, 71, .28); cursor: pointer; }
.arthur-site-btn:hover { background: var(--navy-900); }
.arthur-site-btn img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.arthur-site.aberto .arthur-site-btn { display: none; }
.arthur-site-painel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 48px rgba(15, 47, 71, .25); overflow: hidden; }
.arthur-site-painel[hidden] { display: none; }
.arthur-site-topo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; }
.arthur-site-topo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .8); }
.arthur-site-topo strong { font-size: 1.05rem; flex: 1; }
.arthur-site-fechar { border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.3rem; line-height: 1; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.arthur-site-baloes { list-style: none; margin: 0; padding: 14px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.balao { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.balao p { margin: 0 0 .5em; }
.balao p:last-child { margin: 0; }
.balao-arthur { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.balao-visitante { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.balao-espera { color: var(--muted); font-style: italic; }
.arthur-site-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); }
.arthur-site-form input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.arthur-site-form .btn { padding: 10px 14px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.arthur-site-aviso { margin: 0; padding: 0 14px 10px; font-size: .75rem; color: var(--muted); background: var(--card); }
@media (max-width: 980px) {
  .nav-grupo { width: 100%; }
  .nav-abre { width: 100%; text-align: left; padding: 12px 8px; }
  .nav-painel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; grid-template-columns: 1fr; }
  .mp-trilha-4, .mp-trilha-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mp-trilha-3, .mp-trilha-4, .mp-trilha-5 { grid-template-columns: 1fr; }
  .hero-modulo-in { flex-direction: column; gap: 10px; }
  .arthur-site-btn span { display: none; }
  .arthur-site-btn { padding: 6px; }
}
@media print {
  .arthur-site { display: none !important; }
}
