/* esus-gestores — página inicial pública (usa as variáveis de tema de app.css) */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.home { font-size: 15px; background: var(--bg); overflow-x: hidden; }
.hm-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hm-estreito { max-width: 860px; }
.hm-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.hm-skip:focus { left: 8px; }
.home .ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------ Topo ------------------------------ */
.hm-top { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.hm-top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.hm-top.solido { background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.hm-brand { display: flex; align-items: center; gap: 11px; color: inherit; }
.hm-brand:hover { text-decoration: none; }
.hm-brand b { display: block; font-size: 17px; letter-spacing: -.01em; }
.hm-brand small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.hm-top:not(.solido) .hm-brand { color: #fff; }
.hm-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hm-nav a:not(.btn) { color: var(--text-2); font-weight: 550; padding: 8px 12px; border-radius: 9px; }
.hm-nav a:not(.btn):hover { color: var(--text); background: var(--surface-3); text-decoration: none; }
.hm-top:not(.solido) .hm-nav a:not(.btn) { color: #d4e1f7; }
.hm-top:not(.solido) .hm-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.hm-nav-cta { display: none; }
.hm-top-acoes { display: flex; align-items: center; gap: 8px; }
.hm-top:not(.solido) .hm-top-acoes .btn.ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.hm-menu { display: none; }

/* ------------------------------ Hero ------------------------------ */
.hm-hero { position: relative; color: #fff; padding: 150px 0 110px; overflow: hidden; }
.hm-hero-bg { position: absolute; inset: 0; background: radial-gradient(900px 520px at 8% 0%, rgba(18, 181, 166, .5), transparent 60%), radial-gradient(800px 600px at 100% 100%, rgba(59, 130, 246, .5), transparent 60%), linear-gradient(155deg, #061128, #0b2a5e 55%, #0f3a80); }
.hm-hero-bg .grid-bg, .hm-final-card .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 35% 40%, #000 15%, transparent 72%); -webkit-mask-image: radial-gradient(circle at 35% 40%, #000 15%, transparent 72%); }
.hm-hero-in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #c9f5ee; background: rgba(18, 181, 166, .16); border: 1px solid rgba(94, 234, 212, .35); }
.hm-pill .ic { width: 15px; height: 15px; color: #5eead4; }
.hm-hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; }
.hm-hero h1 em { font-style: normal; background: linear-gradient(90deg, #5eead4, #93c5fd 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lead { font-size: 18px; line-height: 1.6; color: #c9d8f2; max-width: 560px; margin: 0; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn.hm-btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(19, 81, 180, .8); }
.btn.hm-btn-lg .ic { transition: transform .2s; }
.btn.hm-btn-lg:hover .ic { transform: translateX(3px); }
.btn.hm-btn-vidro { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.btn.hm-btn-vidro:hover { background: rgba(255, 255, 255, .16); }
.btn.hm-btn-branco { background: #fff; color: #0b2a5e; }
.btn.hm-btn-branco:hover { background: #e9f1ff; }
.hm-selos { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #a9bfe3; font-size: 13.5px; }
.hm-selos li { display: flex; align-items: center; gap: 8px; }
.hm-selos .ic { width: 16px; height: 16px; color: #5eead4; }

/* ilustração do produto (formas abstratas, sem dados) */
.hm-mock { position: relative; perspective: 1600px; }
.hm-mock-jan { background: #f6f8fc; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12); transform: rotateY(-9deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hm-mock:hover .hm-mock-jan { transform: rotateY(-3deg) rotateX(1deg); }
:root[data-theme="dark"] .hm-mock-jan { background: #101a2b; }
.hm-mock-barra { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: rgba(15, 27, 45, .06); }
:root[data-theme="dark"] .hm-mock-barra { background: rgba(255, 255, 255, .04); }
.hm-mock-barra i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; }
.hm-mock-barra i:nth-child(2) { background: #fbbf24; } .hm-mock-barra i:nth-child(3) { background: #34d399; }
.hm-mock-barra span { margin-left: 12px; height: 9px; width: 40%; border-radius: 6px; background: rgba(15, 27, 45, .1); }
:root[data-theme="dark"] .hm-mock-barra span { background: rgba(255, 255, 255, .08); }
.hm-mock-corpo { display: grid; grid-template-columns: 62px 1fr; min-height: 330px; }
.hm-mock-lado { background: linear-gradient(180deg, #0a1a33, #0f2a52); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.hm-mock-lado b { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #3b82f6, #12b5a6); margin: 0 auto 8px; }
.hm-mock-lado s { display: block; height: 8px; border-radius: 5px; background: rgba(198, 211, 234, .22); }
.hm-mock-lado s.on { background: #4c8dff; }
.hm-mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hm-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-mock-kpis > div, .hm-mock-graf > div, .hm-mock-lista { background: #fff; border: 1px solid #e2e7ef; border-radius: 11px; padding: 11px; display: flex; flex-direction: column; gap: 7px; }
:root[data-theme="dark"] .hm-mock-kpis > div, :root[data-theme="dark"] .hm-mock-graf > div, :root[data-theme="dark"] .hm-mock-lista { background: #162133; border-color: #23324a; }
.hm-l { display: block; height: 7px; border-radius: 4px; background: #dfe5ee; }
:root[data-theme="dark"] .hm-l { background: #2a3a55; }
.w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; }
.hm-n { display: block; height: 16px; width: 58%; border-radius: 5px; background: linear-gradient(90deg, #1351b4, #4c8dff); opacity: .85; }
.hm-tag { align-self: flex-start; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.hm-tag.otimo { color: var(--c-otimo); background: var(--c-otimo-bg); }
.hm-tag.bom { color: var(--c-bom); background: var(--c-bom-bg); }
.hm-tag.sufi { color: var(--c-suficiente); background: var(--c-suficiente-bg); }
.hm-mock-graf { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; }
.hm-gauge { align-items: center; justify-content: center; }
.hm-gauge svg { width: 100%; max-width: 130px; }
.hm-gauge path { fill: none; stroke-width: 11; stroke-linecap: round; }
.hm-gauge .trilho { stroke: #e3e9f3; }
:root[data-theme="dark"] .hm-gauge .trilho { stroke: #22304a; }
.hm-gauge .valor { stroke: #12b5a6; stroke-dasharray: 160; stroke-dashoffset: 160; animation: hm-gauge 1.6s .5s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes hm-gauge { to { stroke-dashoffset: 0; } }
.hm-barras { flex-direction: row !important; align-items: flex-end; gap: 8px !important; min-height: 106px; }
.hm-barras i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4c8dff, #1351b4); transform-origin: bottom; animation: hm-sobe .9s cubic-bezier(.2, .7, .2, 1) both; }
.hm-barras i:nth-child(odd) { background: linear-gradient(180deg, #5eead4, #12b5a6); }
.hm-barras i:nth-child(2) { animation-delay: .08s; } .hm-barras i:nth-child(3) { animation-delay: .16s; } .hm-barras i:nth-child(4) { animation-delay: .24s; }
.hm-barras i:nth-child(5) { animation-delay: .32s; } .hm-barras i:nth-child(6) { animation-delay: .4s; } .hm-barras i:nth-child(7) { animation-delay: .48s; }
@keyframes hm-sobe { from { transform: scaleY(0); } }
.hm-mock-lista p { margin: 0; display: flex; align-items: center; gap: 9px; }
.hm-mock-lista p + p { padding-top: 7px; border-top: 1px solid #eef1f6; }
:root[data-theme="dark"] .hm-mock-lista p + p { border-color: #23324a; }
.hm-mock-lista i { width: 20px; height: 20px; border-radius: 50%; background: #dbe7fb; flex: none; }
:root[data-theme="dark"] .hm-mock-lista i { background: #1b2a55; }
.hm-mock-lista span { height: 7px; border-radius: 4px; background: #dfe5ee; }
:root[data-theme="dark"] .hm-mock-lista span { background: #2a3a55; }
.hm-mock-lista em { margin-left: auto; width: 46px; height: 14px; border-radius: 999px; background: var(--c-bom-bg); }
.hm-mock-lista em.b { background: var(--c-regular-bg); }
.hm-flutua { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; background: var(--surface); color: var(--text); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); border: 1px solid var(--border); animation: hm-flutua 6s ease-in-out infinite; }
.hm-flutua .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #12b5a6, #0e9488); }
.hm-flutua.f2 .ic { background: linear-gradient(135deg, #3b82f6, #1351b4); }
.hm-flutua b { display: block; font-size: 13px; }
.hm-flutua small { display: block; font-size: 11.5px; color: var(--text-3); }
.hm-flutua.f1 { left: -26px; bottom: 44px; }
.hm-flutua.f2 { right: -14px; top: 54px; animation-delay: -3s; }
@keyframes hm-flutua { 50% { transform: translateY(-9px); } }

/* ------------------------------ Faixa ------------------------------ */
.hm-faixa { position: relative; margin-top: -40px; z-index: 2; }
.hm-faixa-in { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
.hm-faixa-in > div { padding: 22px 20px; border-left: 1px solid var(--border); }
.hm-faixa-in > div:first-child { border-left: 0; }
.hm-faixa b { display: block; font-size: 15px; }
.hm-faixa span { display: block; font-size: 13px; color: var(--text-3); }

/* ------------------------------ Seções ------------------------------ */
.hm-sec { padding: 104px 0; }
.hm-alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hm-sec-h { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.hm-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; }
.hm-sec h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin: 16px 0 12px; }
.hm-sec-h p { font-size: 16.5px; color: var(--text-2); margin: 0; }
.hm-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; }
.hm-ic .ic { width: 22px; height: 22px; }
.hm-ic.azul { color: #1351b4; background: #e6eefb; } .hm-ic.verde { color: #0e8f83; background: #dcf5f2; }
.hm-ic.laranja { color: #c2410c; background: #fde9dd; } .hm-ic.roxo { color: #6250d6; background: #ece9fd; }
.hm-ic.teal { color: #0f766e; background: #d9f2ef; } .hm-ic.rosa { color: #be3d6f; background: #fbe4ee; }
:root[data-theme="dark"] .hm-ic.azul { color: #93b8ff; background: #14284a; } :root[data-theme="dark"] .hm-ic.verde { color: #5eead4; background: #0f3330; }
:root[data-theme="dark"] .hm-ic.laranja { color: #fdba74; background: #3f2210; } :root[data-theme="dark"] .hm-ic.roxo { color: #b4abf3; background: #251f4d; }
:root[data-theme="dark"] .hm-ic.teal { color: #5eead4; background: #0f2f2c; } :root[data-theme="dark"] .hm-ic.rosa { color: #f4a6c4; background: #3d1527; }

/* recursos */
.hm-recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-rec { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hm-rec:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.hm-rec h3 { font-size: 18px; margin: 18px 0 8px; letter-spacing: -.015em; }
.hm-rec p { margin: 0; color: var(--text-2); }
.hm-rec.destaque { grid-row: span 2; color: #fff; border: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(18, 181, 166, .45), transparent 60%), linear-gradient(160deg, #0b2a5e, #1351b4); }
.hm-rec.destaque p { color: #d4e1f7; }
.hm-rec.destaque .hm-ic { color: #fff; background: rgba(255, 255, 255, .14); }
.hm-rec ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.hm-rec li { display: flex; gap: 10px; align-items: center; font-weight: 550; font-size: 14px; }
.hm-rec li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: rgba(94, 234, 212, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* como funciona */
.hm-fluxo { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: passo; position: relative; }
.hm-fluxo::before { content: ""; position: absolute; top: 62px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); }
.hm-fluxo li { position: relative; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px 26px; box-shadow: var(--shadow-sm); }
.hm-fluxo .hm-ic { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 8px var(--surface-2); }
.hm-fluxo .hm-ic .ic { width: 28px; height: 28px; }
.hm-passo { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 800; color: var(--text-3); }
.hm-passo::before { content: "Passo "; font-weight: 600; }
.hm-fluxo h3 { font-size: 17.5px; margin: 18px 0 8px; }
.hm-fluxo p { margin: 0; color: var(--text-2); }

/* perfis */
.hm-perfis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hm-perfil { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, background .2s; }
.hm-perfil:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); }
.hm-perfil > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.hm-perfil h3 { font-size: 16px; margin: 0 0 4px; }
.hm-perfil p { margin: 0; color: var(--text-2); font-size: 14px; }

/* segurança */
.hm-seg { background: linear-gradient(160deg, #061128, #0b2a5e); color: #fff; }
.hm-seg-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hm-seg .hm-kicker { color: #5eead4; background: rgba(94, 234, 212, .12); }
.hm-seg-txt p { color: #c9d8f2; font-size: 16.5px; margin: 0 0 28px; }
.hm-seg-lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-seg-lista li { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.hm-seg-lista .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: #5eead4; background: rgba(94, 234, 212, .12); }
.hm-seg-lista b { display: block; margin-bottom: 4px; }
.hm-seg-lista span { color: #b9cbe9; font-size: 14px; }

/* dúvidas */
.hm-faq { display: grid; gap: 12px; }
.hm-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.hm-faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.hm-faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 650; font-size: 16px; position: relative; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.hm-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hm-faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* chamada final */
.hm-final { padding: 0 0 96px; }
.hm-final-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 52px; border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 0% 0%, rgba(18, 181, 166, .5), transparent 60%), linear-gradient(135deg, #0b2a5e, #1351b4); box-shadow: var(--shadow-lg); }
.hm-final-card > * { position: relative; }
.hm-final-card h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.025em; margin: 0 0 6px; }
.hm-final-card p { margin: 0; color: #d4e1f7; font-size: 16px; }

/* rodapé */
.hm-rodape { border-top: 1px solid var(--border); background: var(--surface); padding: 34px 0; }
.hm-rodape-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; align-items: center; }
.hm-rodape nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.hm-rodape nav a { color: var(--text-2); font-weight: 550; }
.hm-rodape small { grid-column: 1 / -1; color: var(--text-3); font-size: 12.5px; }

/* revelação ao rolar (só com JS ativo e sem "reduzir movimento") */
.hm-js [data-hm-revela] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hm-js [data-hm-revela].visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hm-js [data-hm-revela] { opacity: 1; transform: none; transition: none; }
  .hm-flutua, .hm-barras i, .hm-gauge .valor { animation: none; stroke-dashoffset: 0; }
  .hm-mock-jan { transform: none; }
}

/* ------------------------------ Responsivo ------------------------------ */
@media (max-width: 1080px) {
  .hm-hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hm-hero-txt { text-align: center; }
  .hm-lead { margin: 0 auto; }
  .hm-ctas, .hm-selos { justify-content: center; }
  .hm-mock { max-width: 640px; margin: 0 auto; width: 100%; }
  .hm-faixa-in { grid-template-columns: repeat(3, 1fr); }
  .hm-faixa-in > div:nth-child(4) { border-left: 0; }
  .hm-faixa-in > div:nth-child(n+4) { border-top: 1px solid var(--border); }
  .hm-recursos { grid-template-columns: repeat(2, 1fr); }
  .hm-rec.destaque { grid-row: auto; grid-column: 1 / -1; }
  .hm-perfis { grid-template-columns: repeat(2, 1fr); }
  .hm-seg-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .hm-menu { display: inline-flex; }
  .hm-entrar { display: none; }
  .hm-nav { position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .hm-nav.aberto { opacity: 1; visibility: visible; transform: none; }
  .hm-top:not(.solido) .hm-nav a:not(.btn) { color: var(--text-2); }
  .hm-top:not(.solido) .hm-nav a:not(.btn):hover { color: var(--text); background: var(--surface-3); }
  .hm-nav a:not(.btn) { padding: 12px 14px; }
  .hm-nav-cta { display: inline-flex; margin-top: 6px; padding: 12px; }
  .hm-top-acoes { margin-left: auto; }
  .hm-fluxo { grid-template-columns: 1fr; }
  .hm-fluxo::before { display: none; }
  .hm-final-card { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 640px) {
  body.home { font-size: 14.5px; }
  .hm-wrap { padding: 0 18px; }
  .hm-hero { padding: 116px 0 90px; }
  .hm-lead { font-size: 16px; }
  .hm-ctas .btn { flex: 1 1 100%; }
  .hm-selos { flex-direction: column; align-items: center; gap: 8px; }
  .hm-mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .hm-mock-kpis > div:nth-child(3) { display: none; }
  .hm-mock-corpo { grid-template-columns: 44px 1fr; min-height: 0; }
  .hm-flutua { display: none; }
  .hm-faixa-in { grid-template-columns: 1fr 1fr; }
  .hm-faixa-in > div { border-left: 0 !important; border-top: 1px solid var(--border); padding: 16px; }
  .hm-faixa-in > div:nth-child(-n+2) { border-top: 0; }
  .hm-faixa-in > div:nth-child(even) { border-left: 1px solid var(--border) !important; }
  .hm-faixa-in > div:last-child { grid-column: 1 / -1; border-left: 0 !important; }
  .hm-sec { padding: 72px 0; }
  .hm-sec-h { margin-bottom: 36px; }
  .hm-recursos, .hm-perfis, .hm-seg-lista { grid-template-columns: 1fr; }
  .hm-rodape-in { grid-template-columns: 1fr; }
  .hm-rodape nav { justify-content: flex-start; }
}

/* card largo no fim da grade de recursos */
.hm-rec.largo { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; }
.hm-rec.largo .hm-ic { grid-row: span 2; }
.hm-rec.largo h3 { margin: 0; }
@media (max-width: 640px) { .hm-rec.largo { display: block; } .hm-rec.largo h3 { margin: 18px 0 8px; } }
