/* Página principal: complementos aos componentes sp-* (softphone.css).
   Tudo usa os tokens de flux-ds.css, então segue o tema escuro e o claro. */

.hm-page .sp-sec { scroll-margin-top: 80px; }

/* ---------- Cabeçalhos ---------- */
.hm-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 46rem;
}
.hm-head--split {
  max-width: none;
}
@media (min-width: 900px) {
  .hm-head--split {
    align-items: end;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .hm-head--split > div {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  .hm-head--split > .hm-more { justify-self: end; }
}
@media (max-width: 899px) {
  .hm-head--split > div { display: flex; flex-direction: column; gap: 1.1rem; }
}

/* ---------- Links e botões ---------- */
.hm-more {
  align-items: center;
  color: hsl(var(--primary));
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 0.4rem;
  width: fit-content;
}
.hm-more svg {
  height: 1rem;
  transition: transform 0.25s ease;
  width: 1rem;
}
.hm-more:hover svg { transform: translateX(3px); }

.hm-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.hm-ctas--center {
  justify-content: center;
  margin-top: 2rem;
}
.hm-btn {
  align-items: center;
  background: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
  border-radius: 99px;
  box-shadow: 0 10px 28px hsl(var(--primary) / 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  transition: transform 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}
.hm-btn svg { height: 1.05rem; width: 1.05rem; }
.hm-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hm-btn--ghost {
  background: hsl(var(--surface-soft) / 0.6);
  border-color: hsl(var(--ink-strong) / 0.14);
  box-shadow: none;
  color: hsl(var(--ink-strong));
}
@media (max-width: 420px) {
  .hm-btn { white-space: normal; }
}

/* ---------- Faixa de produtos ---------- */
.hm-ticker {
  border-bottom: 1px solid hsl(var(--ink-strong) / 0.07);
  border-top: 1px solid hsl(var(--ink-strong) / 0.07);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
  padding: 1.1rem 0;
}
.hm-ticker-track {
  animation: hm-loop 42s linear infinite;
  display: flex;
  width: max-content;
}
.hm-ticker:hover .hm-ticker-track,
.hm-ticker:focus-within .hm-ticker-track { animation-play-state: paused; }
.hm-ticker-set {
  display: flex;
  gap: 2.6rem;
  list-style: none;
  margin: 0;
  padding: 0 1.3rem;
}
.hm-ticker-set li {
  align-items: center;
  display: flex;
  gap: 2.6rem;
}
.hm-ticker-set li::after {
  background: hsl(var(--primary));
  border-radius: 50%;
  box-shadow: 0 0 10px hsl(var(--primary) / 0.7);
  content: "";
  height: 5px;
  width: 5px;
}
.hm-ticker-set a {
  color: hsl(var(--ink-secondary));
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.hm-ticker-set a:hover { color: hsl(var(--ink-strong)); }

@keyframes hm-loop {
  to { transform: translateX(-50%); }
}
.is-paused .hm-ticker-track,
.is-paused .hm-brands-track { animation-play-state: paused !important; }

/* ---------- Perfis (abas) ---------- */
.hm-perfis {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .hm-perfis {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.hm-tabs {
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 560px) and (max-width: 899px) {
  .hm-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hm-tab {
  align-items: center;
  background: hsl(var(--surface-soft) / 0.5);
  border: 1px solid hsl(var(--ink-strong) / 0.08);
  border-radius: 18px;
  color: hsl(var(--ink-strong));
  cursor: pointer;
  display: flex;
  gap: 0.9rem;
  overflow: hidden;
  padding: 0.95rem 1rem;
  position: relative;
  text-align: left;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hm-tab:hover { background: hsl(var(--surface-hover) / 0.7); }
.hm-tab:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.hm-tab.is-on {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.45);
}
.hm-tab-txt b {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}
.hm-tab-txt small {
  color: hsl(var(--ink-muted));
  display: block;
  font-size: 0.82rem;
  margin-top: 0.1rem;
}
.hm-prog {
  background: linear-gradient(90deg, hsl(var(--primary)), #4ad6ee);
  bottom: 0;
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  width: 100%;
}
.hm-tab:not(.is-on) .hm-prog { opacity: 0; }

.hm-panel {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
  padding: 1.8rem;
}
.hm-panel[hidden] { display: none; }
.hm-panel.is-on { animation: hm-in 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes hm-in {
  from { opacity: 0; transform: translateY(14px); }
}
.hm-panel-k {
  color: hsl(var(--primary));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}
.hm-panel-t {
  color: hsl(var(--ink-strong));
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.hm-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.hm-chip {
  animation: hm-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--k, 0) * 90ms + 120ms);
  background: hsl(var(--surface-soft));
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 14px;
  color: hsl(var(--ink-strong));
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hm-chip:hover { border-color: hsl(var(--primary)); transform: translateY(-2px); }
.hm-chip small {
  color: hsl(var(--ink-muted));
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
}
.hm-base {
  align-items: center;
  background: linear-gradient(90deg, hsl(var(--primary) / 0.16), hsl(var(--primary) / 0.03));
  border: 1px dashed hsl(var(--primary) / 0.4);
  border-radius: 14px;
  color: hsl(var(--ink-secondary));
  display: flex;
  font-size: 0.86rem;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
}
.hm-dot {
  animation: hm-blink 2.4s ease-in-out infinite;
  background: hsl(var(--tone-success));
  border-radius: 50%;
  box-shadow: 0 0 10px hsl(var(--tone-success) / 0.8);
  flex: none;
  height: 8px;
  width: 8px;
}
@keyframes hm-blink {
  50% { opacity: 0.35; }
}
.hm-panel .hm-more { margin-top: auto; }

/* ---------- Ecossistema vivo ---------- */
.hm-eco {
  align-items: center;
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .hm-eco {
    gap: 3rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}
.hm-map {
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  max-width: 600px;
  position: relative;
  width: 100%;
}
.hm-map-svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  position: absolute;
  width: 100%;
}
.hm-ring {
  fill: none;
  stroke: hsl(var(--primary) / 0.35);
  stroke-dasharray: 0.8 1.2;
  stroke-width: 0.25;
  vector-effect: non-scaling-stroke;
}
.hm-ring--out { stroke: hsl(var(--ink-strong) / 0.1); }
.hm-link {
  stroke: hsl(var(--ink-strong) / 0.14);
  stroke-width: 1;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
  vector-effect: non-scaling-stroke;
}
.hm-link.net { stroke: hsl(var(--primary) / 0.35); }
.hm-link.pbx {
  stroke: hsl(var(--primary));
  stroke-dasharray: 4 4;
  stroke-opacity: 0.8;
}
.hm-link.on {
  stroke: hsl(var(--primary));
  stroke-width: 2;
}
.hm-link.pbx.on { stroke: hsl(var(--primary)); }
.hm-pk {
  fill: hsl(var(--primary));
  filter: drop-shadow(0 0 1.2px hsl(var(--primary)));
}
.hm-pk.pbx { fill: hsl(var(--primary)); }

.hm-core {
  align-items: center;
  background: radial-gradient(circle, hsl(var(--primary) / 0.32), hsl(var(--surface-muted)) 70%);
  border: 1px solid hsl(var(--primary) / 0.5);
  border-radius: 50%;
  box-shadow: 0 0 60px hsl(var(--primary) / 0.35);
  display: flex;
  flex-direction: column;
  height: 21%;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 21%;
}
.hm-core img {
  height: 46%;
  position: relative;
  width: 46%;
  z-index: 1;
}
.hm-core small {
  color: hsl(var(--ink-secondary));
  font-size: clamp(0.55rem, 1.4vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-top: 0.2rem;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}
.hm-core .sp-wave {
  height: 100%;
  width: 100%;
}

.hm-node {
  align-items: center;
  background: none;
  border: 0;
  color: hsl(var(--ink-secondary));
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  left: calc(var(--x) * 1%);
  padding: 0.2rem;
  position: absolute;
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -0.45rem);
  z-index: 2;
}
.hm-node i {
  background: hsl(var(--surface-muted));
  border: 2px solid hsl(var(--primary) / 0.7);
  border-radius: 50%;
  height: 0.9rem;
  transition: all 0.35s ease;
  width: 0.9rem;
}
.hm-node--net i { border-color: hsl(var(--primary) / 0.7); }
.hm-node--astro i { border-color: hsl(var(--primary)); }
.hm-node span {
  background: hsl(var(--surface-soft) / 0.85);
  border: 1px solid hsl(var(--ink-strong) / 0.1);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 9.5em;
  padding: 0.3rem 0.65rem;
  text-align: center;
  transition: all 0.35s ease;
}
.hm-node:hover span,
.hm-node:focus-visible span { color: hsl(var(--ink-strong)); }
.hm-node:focus-visible { outline: none; }
.hm-node:focus-visible span { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.hm-node.on i {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 6px hsl(var(--primary) / 0.2), 0 0 18px hsl(var(--primary));
}
.hm-node--astro.on i {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 6px hsl(var(--primary) / 0.22), 0 0 18px hsl(var(--primary));
}
.hm-node.on span {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #fff;
}
.hm-node--astro.on span { background: hsl(var(--primary)); border-color: hsl(var(--primary)); }

@media (max-width: 560px) {
  .hm-node span {
    font-size: 0.66rem;
    max-width: 7em;
    padding: 0.22rem 0.45rem;
  }
  .hm-node i { height: 0.7rem; width: 0.7rem; }
}

.hm-eco-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hm-eco-panel {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 15rem;
  padding: 1.8rem;
}
.hm-eco-cat {
  color: hsl(var(--primary));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}
.hm-eco-name {
  color: hsl(var(--ink-strong));
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0;
}
.hm-eco-desc {
  color: hsl(var(--ink-secondary));
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}
.hm-eco-panel.swap .hm-eco-name,
.hm-eco-panel.swap .hm-eco-desc { animation: hm-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.hm-eco-panel .hm-more { margin-top: auto; }
.hm-eco-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.hm-eco-dots i {
  background: hsl(var(--ink-strong) / 0.18);
  border-radius: 99px;
  height: 4px;
  transition: all 0.35s ease;
  width: 14px;
}
.hm-eco-dots i.on {
  background: hsl(var(--primary));
  width: 28px;
}
.hm-legend {
  color: hsl(var(--ink-muted));
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 0.6rem 1.2rem;
}
.hm-legend span { align-items: center; display: inline-flex; gap: 0.45rem; }
.hm-legend i {
  border: 2px solid hsl(var(--ink-strong) / 0.35);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}
.hm-legend i.net { border-color: hsl(var(--primary)); }
.hm-legend i.pbx { border-color: hsl(var(--primary)); }

.hm-cats {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .hm-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hm-cat {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
}
.hm-cat h3 {
  color: hsl(var(--ink-strong));
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
}
.hm-cat p {
  color: hsl(var(--ink-muted));
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.hm-cat ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
}
.hm-cat ul a {
  background: hsl(var(--surface-soft));
  border: 1px solid hsl(var(--ink-strong) / 0.1);
  border-radius: 99px;
  color: hsl(var(--ink-secondary));
  display: inline-block;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  transition: all 0.2s ease;
}
.hm-cat ul a:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--ink-strong));
}
.hm-cat .hm-more { margin-top: auto; }

/* ---------- Desafio: antes e depois ---------- */
.hm-vs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hm-vs-row {
  align-items: stretch;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr) 2.6rem minmax(0, 1fr);
}
.hm-vs-old,
.hm-vs-new {
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  position: relative;
}
.hm-vs-old {
  border: 1px dashed hsl(var(--ink-strong) / 0.16);
}
.hm-vs-old b {
  color: hsl(var(--ink-muted));
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: hsl(0 80% 62% / 0.7);
}
.hm-vs-new { border-color: hsl(var(--primary) / 0.4) !important; }
.hm-vs-new b { color: hsl(var(--ink-strong)); font-weight: 600; }
.hm-vs-old small,
.hm-vs-new small {
  color: hsl(var(--ink-muted));
  font-size: 0.84rem;
  line-height: 1.45;
}
.hm-x,
.hm-ok {
  border-radius: 50%;
  display: grid;
  font-size: 0.7rem;
  font-weight: 700;
  height: 1.4rem;
  place-items: center;
  width: 1.4rem;
}
.hm-x { background: hsl(0 80% 62% / 0.14); color: hsl(0 75% 62%); }
.hm-ok { background: hsl(var(--tone-success) / 0.16); color: hsl(var(--tone-success-fg)); }
.hm-vs-arrow {
  align-self: center;
  background: repeating-linear-gradient(90deg, hsl(var(--primary) / 0.6) 0 5px, transparent 5px 9px);
  height: 2px;
  position: relative;
}
.hm-vs-arrow::after {
  border-right: 2px solid hsl(var(--primary));
  border-top: 2px solid hsl(var(--primary));
  content: "";
  height: 8px;
  position: absolute;
  right: 0;
  top: -4px;
  transform: rotate(45deg);
  width: 8px;
}
.hm-vs-arrow i {
  animation: hm-run 2.4s cubic-bezier(0.55, 0, 0.45, 1) infinite;
  background: hsl(var(--primary));
  border-radius: 3px;
  box-shadow: 0 0 8px hsl(var(--primary));
  height: 6px;
  left: 0;
  position: absolute;
  top: -2px;
  width: 6px;
}
.hm-vs-row:nth-child(2) .hm-vs-arrow i { animation-delay: 0.4s; }
.hm-vs-row:nth-child(3) .hm-vs-arrow i { animation-delay: 0.8s; }
@keyframes hm-run {
  0% { left: 0; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@media (max-width: 640px) {
  .hm-vs-row { grid-template-columns: 1fr; }
  .hm-vs-arrow {
    background: repeating-linear-gradient(180deg, hsl(var(--primary) / 0.6) 0 5px, transparent 5px 9px);
    height: 1.4rem;
    justify-self: center;
    width: 2px;
  }
  .hm-vs-arrow::after { display: none; }
  .hm-vs-arrow i { display: none; }
}

/* ---------- Pipeline com 4 passos ---------- */
@media (min-width: 900px) {
  .hm-pipe4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-pipe4 .sp-track { left: 12.5%; right: 12.5%; }
}

/* ---------- Números ---------- */
.hm-nums {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 80px;
}
.hm-stats {
  margin-top: 0;
}
@media (min-width: 900px) {
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hm-scale {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hm-scale p {
  border-left: 2px solid hsl(var(--primary) / 0.6);
  color: hsl(var(--ink-muted));
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
  padding: 0.2rem 0 0.2rem 0.8rem;
}
.hm-scale b {
  color: hsl(var(--ink-strong));
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
}

/* ---------- Prova social: esteira de telas ---------- */
.hm-brands {
  margin-top: 3rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  overflow: hidden;
  padding: 1rem 0 1.5rem;
}
.hm-brands-track {
  display: flex;
  margin: 0 auto;
  width: max-content;
}
/* a esteira só anda depois que o JS duplica a lista (laço sem emenda) */
.hm-brands.is-ready .hm-brands-track {
  animation: hm-loop 70s linear infinite;
}
.hm-brands:hover .hm-brands-track { animation-play-state: paused; }
.hm-brands-set {
  display: flex;
  gap: 1.6rem;
  padding-right: 1.6rem;
}
.hm-brand {
  --pw: 150px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  transition: transform 0.35s ease;
}
.hm-brand:hover { transform: translateY(-6px); }
.hm-brand .sp-phone { box-shadow: 0 0 0 1px #59647e, 0 18px 40px rgba(0, 0, 0, 0.3); }
.hm-brand figcaption {
  color: hsl(var(--ink-secondary));
  font-size: 0.82rem;
  font-weight: 500;
}
@media (max-width: 560px) {
  .hm-brand { --pw: 120px; }
}

/* ---------- Planos ---------- */
.hm-plans {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .hm-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hm-plan {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.7rem;
}
.hm-plan--hi {
  border-color: hsl(var(--primary) / 0.55) !important;
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.25), 0 24px 60px hsl(var(--primary) / 0.18);
}
.hm-plan-hd {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.hm-plan-k {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}
.hm-plan-tag {
  background: hsl(var(--primary) / 0.12);
  border-radius: 99px;
  color: hsl(var(--primary));
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
}
.hm-plan-tag.on { background: hsl(var(--primary)); color: #fff; }
.hm-plan h3 {
  color: hsl(var(--ink-strong));
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0.3rem 0 0;
}
.hm-plan-price {
  color: hsl(var(--ink-strong));
  font-size: 2.4rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  margin: 0;
}
.hm-plan-desc {
  color: hsl(var(--ink-muted));
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.hm-plan ul {
  border-top: 1px solid hsl(var(--ink-strong) / 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  margin: 0.5rem 0 1rem;
  padding: 1rem 0 0;
}
.hm-plan li {
  color: hsl(var(--ink-secondary));
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}
.hm-plan li::before {
  color: hsl(var(--primary));
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}
.hm-plan .hm-btn { justify-content: center; margin-top: auto; }
.hm-note {
  color: hsl(var(--ink-muted));
  font-size: 0.88rem;
  margin: 1.5rem 0 0;
  text-align: center;
}

/* ---------- Ecossistema técnico ---------- */
.hm-tiles {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 2.5rem;
}

/* ---------- Blog ---------- */
.hm-posts {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .hm-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hm-post {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem;
}
.hm-post-cat {
  color: hsl(var(--primary));
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hm-post h3 {
  color: hsl(var(--ink-strong));
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}
.hm-post p {
  color: hsl(var(--ink-muted));
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.hm-post-date {
  color: hsl(var(--ink-light));
  font-size: 0.78rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

/* ---------- FAQ ---------- */
.hm-faq {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .hm-faq {
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .hm-faq-head { position: sticky; top: 100px; }
}
.hm-qs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.hm-q {
  border-radius: 18px;
  padding: 0 1.2rem;
}
.hm-q summary {
  align-items: center;
  color: hsl(var(--ink-strong));
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding: 1.05rem 0;
}
.hm-q summary::-webkit-details-marker { display: none; }
.hm-q summary i {
  flex: none;
  height: 0.9rem;
  position: relative;
  width: 0.9rem;
}
.hm-q summary i::before,
.hm-q summary i::after {
  background: hsl(var(--primary));
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: calc(50% - 1px);
  transition: transform 0.3s ease;
  width: 100%;
}
.hm-q summary i::after { transform: rotate(90deg); }
.hm-q[open] summary i::after { transform: rotate(0deg); }
.hm-q p {
  animation: hm-in 0.4s ease;
  color: hsl(var(--ink-muted));
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  padding: 0 0 1.15rem;
}

/* ---------- CTA final ---------- */
.hm-cta {
  align-items: center;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 4rem 1.5rem;
  position: relative;
  text-align: center;
}
.hm-cta > *:not(.sp-wave) { position: relative; z-index: 1; }
.hm-cta .sp-h2 { max-width: 44rem; }
.hm-cta .sp-wave {
  height: 420px;
  width: 420px;
}

/* ---------- Reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .hm-ticker-track,
  .hm-brands-track {
    animation: none !important;
  }
  .hm-ticker,
  .hm-brands { overflow-x: auto; }
}
