/* Kistner TI: estilos compartilhados pela home (/) e pela consultoria Protheus (/totvs/) */
:root {
  --navy: #071c3d;
  --navy-2: #0b2e5f;
  --navy-3: #061630;
  --blue: #164c82;
  --accent: #2571b8;
  --accent-claro: #a8cbed;
  --ink: #101828;
  --muted: #5d6b80;
  --light: #f5f7fa;
  --soft: #eaf0f6;
  --line: #dfe6ee;
  --whats: #25d366;
  --ok: #4ccf87;
  --aviso: #f5c451;
  --alerta: #ff7b72;
  --sombra: 0 24px 50px rgba(7,28,61,.16);
  --topo: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, Arial, sans-serif; font-size: 1.02rem; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select { font: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.svg-lib { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-whats { fill: currentColor; stroke: none; }
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.pular { position: fixed; left: 16px; top: 12px; transform: translateY(-200%); z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; }
.pular:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Botões e textos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-g { min-height: 54px; padding: 14px 26px; }
.btn-azul { background: var(--navy); color: #fff; }
.btn-azul:hover { background: var(--blue); }
.btn-branco { background: #fff; color: var(--navy); }
.btn-branco:hover { background: var(--soft); }
.btn-linha { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-linha:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid #a5b8cd; padding: 6px 0; }
.link .ic { transition: transform .25s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.link:hover .ic { transform: translateX(4px); }
.sobre { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sobre-claro { color: var(--accent-claro); }
.num { font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); width: fit-content; }
.num-claro { color: var(--accent-claro); border-color: var(--accent-claro); }
.lead { margin-top: 18px; color: var(--muted); font-size: 1.06rem; max-width: 38em; }
.lead-claro { color: #c3d0e2; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.lista { display: grid; gap: 10px; }
.lista li { display: flex; gap: 10px; color: #344256; }
.lista .ic { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.4; }
.lista-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }

/* ---------- Topo e menu ---------- */
.topo { position: sticky; top: 0; z-index: 100; height: var(--topo); background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topo.rolou { border-color: var(--line); box-shadow: 0 4px 18px rgba(7,28,61,.06); }
.topo-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca { display: block; flex: none; }
.marca img { width: 200px; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a:not(.btn) { position: relative; font-size: .9rem; font-weight: 500; text-decoration: none; padding: 8px 0; white-space: nowrap; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:not(.btn):hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.menu a[aria-current] { color: var(--accent); }
.menu-cta { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
/* Botão do menu: as três linhas ficam no mesmo ponto central e só giram, então a passagem para o X não "pula". */
.menu-btn { display: none; position: relative; width: 48px; height: 48px; margin-right: -10px; border: 0; border-radius: 8px; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-btn span { position: absolute; left: 13px; right: 13px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--navy); transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s; }
.menu-btn span:nth-child(1) { transform: translateY(-7px); }
.menu-btn span:nth-child(3) { transform: translateY(7px); }
.topo.aberto .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.topo.aberto .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.topo.aberto .menu-btn span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Animações (só com a classe .anima, posta por /js/inicio.js) ---------- */
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; } .d5 { --d: 5; }
.anima .entra { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * .1s); }
.anima.carregou .entra { opacity: 1; transform: none; }
.anima .revela { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * .08s); }
.anima .revela.visivel { opacity: 1; transform: none; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 100% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding: 80px 0 0; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(37,113,184,.45), transparent); }
.hero-k { position: absolute; z-index: -1; left: -120px; bottom: -40px; width: 460px; opacity: .04; pointer-events: none; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero .sobre { color: var(--accent-claro); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent-claro); }
.hero-sub { margin-top: 22px; max-width: 32em; color: #c3d0e2; font-size: 1.1rem; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; padding: 28px 34px 40px 40px; }
.hero-foto { border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.hero-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 72% center; }
.bolha { position: absolute; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--sombra); font-size: .82rem; line-height: 1.35; }
.bolha strong { display: block; color: var(--navy); font-size: .9rem; }
.bolha span { color: var(--muted); }
.bolha-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--accent); }
.bolha-ic .ic { width: 20px; height: 20px; }
.bolha-whats .bolha-ic { background: var(--whats); color: #fff; }
.bolha-1 { top: 0; left: 0; }
.bolha-2 { top: 44%; right: 0; }
.bolha-3 { bottom: 4px; left: 8px; }
.anima .bolha { animation: flutua 6s ease-in-out infinite; }
.anima .bolha-2 { animation-delay: -2s; }
.anima .bolha-3 { animation-delay: -4s; }
.hero-servicos { display: flex; gap: 10px; margin-top: 64px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); overflow-x: auto; scrollbar-width: none; }
.hero-servicos::-webkit-scrollbar { display: none; }
.hero-servicos a { display: flex; align-items: center; gap: 10px; flex: 1 0 auto; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background-color .2s, border-color .2s, transform .2s; }
.hero-servicos .ic { color: var(--accent-claro); }
.hero-servicos a:hover { background: rgba(255,255,255,.1); border-color: var(--accent-claro); transform: translateY(-2px); }

/* ---------- Seções ---------- */
.secao { padding: 104px 0; }
.secao h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
.fundo-claro { background: var(--light); }
.fundo-suave { background: var(--soft); }
.fundo-escuro { background: var(--navy); color: #fff; }
.fundo-escuro h2, .fundo-escuro h3 { color: #fff; }
.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.secao-cab { max-width: 760px; margin-bottom: 48px; }
.grade-2 { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grade-3 { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade-4 { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.foto { position: relative; border-radius: 18px; overflow: hidden; background: var(--soft); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.item { padding: 24px 22px; border-radius: 12px; background: var(--light); border-top: 3px solid var(--accent); transition: transform .25s, box-shadow .25s, background-color .25s; }
.item:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 16px 34px rgba(7,28,61,.08); }
.item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.item p { color: var(--muted); font-size: .95rem; }
.fundo-claro .item, .fundo-suave .item { background: #fff; }

/* Abas (Protheus) */
.abas-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.aba { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.aba:hover { border-color: var(--accent); }
.aba[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.abas-lista[hidden] { display: none; }
.painel { margin-top: 18px; }
.painel[hidden] { display: none; }
.com-abas .painel:not([hidden]) { animation: surge .45s cubic-bezier(.2,.7,.2,1); }
@keyframes surge { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.painel-t { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 18px 0 12px; }
.com-abas .painel-t { display: none; }

/* ---------- Protheus (home) ---------- */
.pro-visual { position: relative; }
.pro-visual .foto img { aspect-ratio: 4 / 4.6; object-position: 58% center; }
.pro-selo { position: absolute; top: 18px; left: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(7,28,61,.88); backdrop-filter: blur(6px); }
.pro-selo img { width: 120px; }
.pro-numeros { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); box-shadow: var(--sombra); }
.pro-numeros li { text-align: center; }
.pro-numeros strong { display: block; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.pro-numeros span { font-size: .78rem; color: var(--muted); }
.pro-numeros strong span { font: inherit; color: inherit; }
.pro-painel { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px; border-radius: 14px; background: var(--light); border: 1px solid var(--line); }
.pro-painel > img { width: 150px; height: 130px; border-radius: 10px; object-fit: cover; }
.pro-painel .lista { gap: 7px; }
.pro-painel .lista li { font-size: .95rem; }
.logos-tec { display: grid; gap: 10px; }
.logos-tec span { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .85rem; }
.logos-tec img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- Landing pages ---------- */
.lp-cab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; }
.etapas-lp { display: grid; gap: 12px; }
.etapas-lp li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.etapas-lp b { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: .9rem; }
.etapas-lp strong { color: var(--navy); line-height: 1.3; }
.etapas-lp span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.vitrine { margin-top: 56px; }
.navegador { border-radius: 14px; overflow: hidden; background: #0a0d12; border: 1px solid #1d2430; box-shadow: 0 40px 80px rgba(7,28,61,.25); }
.navegador-barra { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #161b23; }
.navegador-barra i { width: 10px; height: 10px; border-radius: 50%; background: #3a4250; }
.navegador-url { margin-left: 10px; flex: 0 1 380px; min-width: 0; padding: 5px 12px; border-radius: 6px; background: #0a0d12; color: #9aa5b5; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navegador img { width: 100%; }
.tela { position: relative; }
.marco { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 800; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.anima .marco { animation: pulsa-azul 2.2s ease-out infinite; }
@keyframes pulsa-azul { 0% { box-shadow: 0 0 0 0 rgba(37,113,184,.7), 0 6px 16px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 14px rgba(37,113,184,0), 0 6px 16px rgba(0,0,0,.35); } }
.marco-1 { position: static; margin: 0 0 0 4px; width: 24px; height: 24px; font-size: .72rem; }
.marco-2 { left: 26%; top: 74.5%; }
.marco-3 { left: 2.4%; top: 23%; }
.marco-4 { left: 82%; top: 32%; }
.notas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.nota { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.nota b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .78rem; }
.vitrine-leg { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 18px; color: var(--muted); font-size: .95rem; }
.vitrine-leg strong { color: var(--navy); }

/* ---------- Social media ---------- */
.sm-visual { position: relative; padding: 0 30px 30px 0; }
.sm-visual .foto img { aspect-ratio: 4 / 3.3; object-position: 60% center; }
.sm-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; box-shadow: var(--sombra); font-size: .82rem; line-height: 1.35; text-decoration: none; }
.sm-card strong { display: block; color: var(--navy); font-size: .9rem; }
.sm-card span { color: var(--muted); }
.sm-card-a { right: 0; top: 14%; }
.sm-card-b { left: -22px; bottom: 0; }
.anima .sm-card { animation: flutua 6.5s ease-in-out infinite; }
.anima .sm-card-b { animation-delay: -3s; }
.servicos-sm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.servicos-sm li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--light); font-weight: 600; color: var(--navy); font-size: .95rem; transition: transform .2s, background-color .2s; }
.servicos-sm li:hover { transform: translateY(-2px); background: var(--soft); }
.servicos-sm .ic { color: var(--accent); }
.frase-sm { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--accent); color: #344256; }

/* ---------- RH e jornada ---------- */
.aviso-6x1 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; margin-bottom: 56px; padding: 22px 26px; border-radius: 14px; background: var(--navy); color: #c3d0e2; }
.aviso-6x1 .selo { grid-row: span 2; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.05rem; text-align: center; line-height: 1.15; }
.aviso-6x1 .selo small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d7e6f6; }
.aviso-6x1 strong { color: #fff; font-size: 1.1rem; }
.rh-grade { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.rh-texto { position: sticky; top: calc(var(--topo) + 28px); }
.linha-tempo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.linha-tempo li { position: relative; padding: 22px 18px 0 0; border-top: 2px solid var(--line); }
.linha-tempo li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.linha-tempo li.agora::before { background: var(--accent); }
.linha-tempo b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.linha-tempo strong { display: block; margin: 4px 0; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.linha-tempo span { font-size: .9rem; color: var(--muted); }
.rh-texto .lista { margin-top: 28px; }
.rh-foto img { aspect-ratio: 16 / 8; object-position: center 30%; }
.sim { margin-top: -48px; position: relative; margin-inline: 22px; padding: 28px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: var(--sombra); }
.sim-t { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.sim-sub { margin-top: 6px; color: #b8c7db; font-size: .93rem; }
.sim legend, .sim-rot { display: block; margin: 20px 0 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-claro); padding: 0; }
.escalas { display: flex; flex-wrap: wrap; gap: 8px; }
.escalas label { position: relative; }
.escalas input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.escalas span { display: block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.escalas input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.escalas input:focus-visible + span { outline: 3px solid var(--accent-claro); outline-offset: 2px; }
.escalas label:hover span { border-color: var(--accent-claro); }
.dias { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin-top: 18px; }
.dias li { display: grid; place-items: center; height: 34px; border-radius: 6px; font-size: .7rem; font-weight: 700; transition: background-color .3s, color .3s; }
.dias .t { background: var(--accent); color: #fff; }
.dias .f { background: rgba(255,255,255,.08); color: #8ea3bf; }
.dias-leg { display: flex; gap: 16px; margin-top: 8px; font-size: .78rem; color: #9fb2cc; }
.dias-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--accent); }
.dias-leg i.f { background: rgba(255,255,255,.2); }
.sim-linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; align-items: end; }
.sim input[type="time"] { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); background: var(--navy-2); color: #fff; font-size: 1.15rem; font-weight: 600; color-scheme: dark; }
.sim input:disabled { opacity: .6; }
.sim input[type="time"]:focus { outline: none; border-color: var(--accent-claro); box-shadow: 0 0 0 3px rgba(168,203,237,.25); }
.sim-num { display: flex; gap: 10px; }
.sim-num div { flex: 1; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.06); }
.sim-num strong { display: block; font-size: 1.25rem; letter-spacing: -.02em; }
.sim-num span { font-size: .75rem; color: #9fb2cc; }
.sim-res { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.06); border-left: 4px solid var(--accent-claro); font-size: .93rem; color: #dbe5f2; }
.sim-res.ok { border-color: var(--ok); }
.sim-res.aviso { border-color: var(--aviso); }
.sim-res.alerta { border-color: var(--alerta); }
.sim-nota { margin-top: 10px; font-size: .78rem; color: #8ea3bf; }

/* ---------- Sewfy ---------- */
.sewfy-cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.sewfy-cab .lead { margin: 0 0 24px; }
.sewfy-tela { margin: 48px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 30px 60px rgba(0,0,0,.3); background: #fff; }
.sewfy-tela img { width: 100%; }
.sewfy-rec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.sewfy-rec li { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: #b8c7db; font-size: .95rem; }
.sewfy-rec strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.integra { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; color: #9fb2cc; font-size: .9rem; }
.integra span { display: grid; place-items: center; width: 132px; height: 52px; padding: 10px 14px; border-radius: 10px; background: #fff; }
.integra img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Desenvolvimento sob medida ---------- */
.dev-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.dev h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.tech { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tech li { display: grid; place-items: center; width: 60px; height: 60px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tech img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Rodapé com contato ---------- */
.rodape { background: var(--navy-3); color: #9fb2cc; }
.contato { padding: 96px 0 80px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contato h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
.contato-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: 40px; }
.contato-cab .lead { margin-top: 12px; }
.canais { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.canal { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); text-decoration: none; color: #b8c7db; transition: transform .25s, border-color .25s, background-color .25s; }
.canal:hover { transform: translateY(-4px); border-color: var(--accent-claro); background: rgba(255,255,255,.07); }
.canal-topo { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.canal-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--whats); color: #fff; }
.canal-ic .ic { width: 24px; height: 24px; }
.canal small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-claro); }
.canal-titulo { color: #fff; font-size: 1.15rem; font-weight: 700; }
.canal-email { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.canal-ic.azul { background: var(--accent); }
.canal-num { overflow-wrap: anywhere; margin-top: 10px; color: #fff; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.canal-acao { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--accent-claro); font-weight: 600; }
.canal:hover .canal-acao .ic { transform: translateX(4px); }
.canal-acao .ic { transition: transform .25s; }
.canal-destaque { background: linear-gradient(150deg, var(--accent), #1b5c99); border-color: transparent; color: #e3eefa; }
.canal-destaque:hover { background: linear-gradient(150deg, #2a7cc8, #1b5c99); border-color: transparent; }
.canal-destaque small, .canal-destaque .canal-acao { color: #fff; }
.extras { font-style: normal; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.extra { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); text-decoration: none; min-width: 0; transition: border-color .2s, background-color .2s; }
.extra:hover { border-color: var(--accent-claro); background: rgba(255,255,255,.05); }
.extra .ic { width: 24px; height: 24px; color: var(--accent-claro); }
.extra span { display: flex; flex-direction: column; min-width: 0; }
.extra small { font-size: .78rem; color: #9fb2cc; }
.extra strong { color: #fff; font-size: .98rem; overflow-wrap: anywhere; line-height: 1.35; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 56px 0 44px; }
.rodape-logo { width: 230px; margin-bottom: 18px; }
.rodape h2.rodape-t { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.rodape nav, .rodape-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rodape-grade a { text-decoration: none; }
.rodape-grade a:hover { color: #fff; text-decoration: underline; }
.rodape-marcas { font-size: .8rem; color: #7489a6; padding-bottom: 18px; }
.rodape-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }

.whats-flutuante { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--whats); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.22); transition: transform .2s; }
.anima .whats-flutuante { animation: pulsa 2.4s ease-out infinite; }
.whats-flutuante svg { width: 32px; height: 32px; fill: currentColor; }
.whats-flutuante:hover { transform: scale(1.07); }

/* ---------- Página Protheus (/totvs/) ---------- */
.p-hero-foto { position: relative; }
.p-hero-foto .foto { border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.p-hero-foto .foto img { aspect-ratio: 4 / 3.6; object-position: 40% center; }
.p-hero-foto .pro-numeros { left: -24px; right: auto; bottom: -24px; width: min(420px, 100%); }
.p-hero-foto .pro-selo { left: auto; right: 18px; }
.p-hero .hero-grade { padding-bottom: 96px; }
.etapas li { padding: 24px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.etapas li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(7,28,61,.08); }
.etapas b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: .85rem; margin-bottom: 14px; }
.etapas strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.etapas p { color: var(--muted); font-size: .95rem; }
.mod-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mod-grade .foto img { aspect-ratio: 4 / 3; }
.mod-grade .lista { gap: 8px; }
.fluxo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fluxo li { position: relative; padding: 22px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-align: center; transition: background-color .3s, border-color .3s; }
.fluxo li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -9px; width: 8px; height: 8px; border-top: 2px solid var(--accent-claro); border-right: 2px solid var(--accent-claro); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.fluxo span { display: block; font-size: .8rem; font-weight: 700; color: var(--accent-claro); }
.fluxo strong { color: #fff; font-size: 1.05rem; }
.anima .fluxo.visivel li { animation: acende 5s ease-in-out infinite; }
.anima .fluxo li:nth-child(2) { animation-delay: 1s; }
.anima .fluxo li:nth-child(3) { animation-delay: 2s; }
.anima .fluxo li:nth-child(4) { animation-delay: 3s; }
.anima .fluxo li:nth-child(5) { animation-delay: 4s; }
@keyframes acende { 0%, 30%, 100% { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); } 10%, 20% { background: var(--accent); border-color: var(--accent); } }
.esp-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 48px; }
.esp-grade .foto img { aspect-ratio: 16 / 10; }
.servicos-p { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.servicos-p li { padding: 20px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.servicos-p li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,28,61,.08); }
.servicos-p span { display: block; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.servicos-p h3 { font-size: 1.02rem; margin-bottom: 4px; letter-spacing: -.02em; }
.servicos-p p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.techs-p { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.techs-p li { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.techs-p img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.techs-p strong { display: block; color: var(--navy); }
.techs-p span { font-size: .88rem; color: var(--muted); }
.techs-p + .grade-3 { margin-top: 40px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.cta-faixa { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 26px 30px; border-radius: 14px; background: var(--navy); }
.cta-faixa p { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Página 404 ---------- */
.erro { min-height: calc(100vh - var(--topo)); display: grid; place-items: center; text-align: center; padding: 72px 0; background: var(--navy); color: #c3d0e2; }
.erro img { width: 120px; margin: 0 auto 28px; opacity: .9; }
.erro h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.erro p { margin: 16px auto 0; max-width: 32em; }
.erro .hero-acoes { justify-content: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .menu { position: fixed; inset: var(--topo) 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; background: #fff; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .topo.aberto .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
  .menu a:not(.btn) { font-size: 1.3rem; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu a:not(.btn)::after { display: none; }
  .menu-cta { margin-top: 24px; min-height: 54px; }
}
@media (max-width: 1100px) {
  .servicos-p, .techs-p, .grade-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { padding-top: 56px; }
  .hero-grade, .duas, .sewfy-cab, .lp-cab, .dev-grade, .rh-grade, .mod-grade, .esp-grade { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-visual { max-width: 560px; }
  .rh-texto { position: static; }
  .sewfy-rec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grade-3 { grid-template-columns: minmax(0, 1fr); }
  .fluxo { grid-template-columns: minmax(0, 1fr); }
  .fluxo li:not(:last-child)::after { top: auto; bottom: -9px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .notas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marco { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: .72rem; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .rodape-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rodape-grade > div:first-child { grid-column: 1 / -1; }
  .p-hero-foto .pro-numeros { left: 12px; bottom: -20px; }
}
@media (max-width: 640px) {
  :root { --topo: 72px; }
  .container { width: min(100% - 32px, 1200px); }
  .marca img { width: 168px; }
  .secao, .contato { padding: 72px 0; }
  .hero-acoes .btn { width: 100%; }
  .hero-visual { padding: 22px 0 30px; }
  .bolha { max-width: 230px; font-size: .76rem; padding: 10px 12px 10px 10px; }
  .bolha-ic { width: 32px; height: 32px; }
  .bolha-1 { left: -6px; }
  .bolha-2 { display: none; }
  .bolha-3 { left: 0; }
  .hero-servicos { margin-top: 40px; margin-right: -16px; padding-right: 16px; }
  .grade-2, .grade-4, .lista-2, .sewfy-rec, .linha-tempo, .servicos-p, .techs-p, .servicos-sm, .canais, .notas { grid-template-columns: minmax(0, 1fr); }
  .linha-tempo { gap: 22px; }
  .pro-numeros { left: 10px; right: 10px; bottom: 10px; padding: 12px 8px; }
  .pro-numeros span { font-size: .7rem; }
  .pro-painel { grid-template-columns: minmax(0, 1fr); }
  .pro-painel > img { width: 100%; height: 150px; }
  .logos-tec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-visual { padding: 0 0 30px; }
  .sm-card-a { right: -6px; }
  .sm-card-b { left: -6px; }
  .aviso-6x1 { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .aviso-6x1 .selo { grid-row: auto; justify-self: start; }
  .sim { margin-inline: 0; margin-top: -24px; padding: 22px 18px; }
  .sim-linha { grid-template-columns: minmax(0, 1fr); }
  .dias { gap: 3px; }
  .dias li { height: 28px; font-size: .62rem; }
  .canal { padding: 22px; }
  .integra span { width: 118px; height: 48px; }
  .tech { gap: 10px; }
  .tech li { width: 54px; height: 54px; padding: 11px; }
  .cta-faixa { padding: 22px 20px; }
  .cta-faixa .btn { width: 100%; }
  .rodape-grade { grid-template-columns: minmax(0, 1fr); }
  .whats-flutuante { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .p-hero-foto .pro-numeros { position: static; width: auto; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
