/* ============================================================
   Totusia — layout da home no padrão hubxp.com.br (31/10/2026)
   Seções alternando preto e branco, tipo grande, rótulos em mono,
   divisórias finas. Carregado DEPOIS do style.css, só na home.
   Componentes novos usam o prefixo hx-; os de preço (start-card,
   mp-*, calc-*) e o FAQ vêm do style.css e só são ajustados aqui.
   @author Rogério Sá
   ============================================================ */

:root {
  --hx-green: #00f076;
  --hx-deep:  #006b35;
  --hx-pale:  #e0fff0;
  --hx-line:  rgba(0,0,0,.08);
  --hx-line-d: rgba(255,255,255,.08);
}

html { scroll-padding-top: 72px; }

/* ---------- base ---------- */
.hx-wrap { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .hx-wrap { padding-inline: 32px; } }
.hx-narrow { max-width: 960px; }
.hx-center { text-align: center; }

.hx-sec { position: relative; padding: 112px 0; }
@media (min-width: 768px) { .hx-sec { padding: 144px 0; } }
.hx-light { background: #fff; color: #000; }
.hx-dark { background: #000; color: #fff; overflow: hidden; }

.hx-eyebrow {
  margin: 0; font-family: var(--font-mono); font-size: 10px; font-weight: 500; line-height: 24px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--hx-deep);
}
.hx-dark .hx-eyebrow, .hx-hero .hx-eyebrow { color: var(--hx-green); }

.hx-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .18em; color: var(--hx-deep); }
.hx-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--hx-deep); }

.hx-head { max-width: 768px; margin-bottom: 64px; }
@media (min-width: 768px) { .hx-head { margin-bottom: 80px; } }
.hx-head h2 { margin: 24px 0 16px; font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: -.025em; }
.hx-head h2 span { color: var(--hx-green); }
.hx-head > p:not(.hx-eyebrow) { max-width: 672px; font-size: 18px; line-height: 1.625; color: rgba(0,0,0,.55); }
.hx-dark .hx-head > p:not(.hx-eyebrow) { color: rgba(255,255,255,.7); }

.hx-glow { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; background: rgba(0,240,118,.05); }
.hx-glow--tr { width: 460px; height: 460px; top: -128px; right: -96px; }
.hx-glow--bl { width: 360px; height: 360px; bottom: -96px; left: -96px; background: rgba(0,240,118,.035); }
.hx-glow--top { width: 520px; height: 520px; top: 0; left: 50%; transform: translateX(-50%); }

/* ---------- botões ---------- */
.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  background: var(--hx-green); color: #000; font-size: 16px; font-weight: 600; line-height: 1;
  white-space: nowrap; transition: filter .2s, background .2s, border-color .2s, color .2s;
}
.hx-btn:hover { filter: brightness(1.08); }
.hx-btn:focus-visible, .hx-svc-tab:focus-visible, .hx-card:focus-visible { outline: 2px solid var(--hx-green); outline-offset: 3px; }
.hx-svc-tab:focus-visible { outline-color: var(--hx-deep); }
.hx-btn--ghost { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.15); }
.hx-btn--ghost:hover { filter: none; color: #fff; border-color: rgba(255,255,255,.35); }
.hx-btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- nav ---------- */
.hx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.hx-nav.scrolled {
  background: rgba(0,0,0,.85); border-bottom-color: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hx-nav-in { height: 100%; display: flex; align-items: center; gap: 8px; }
.hx-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.hx-logo b { color: var(--hx-green); font-weight: 700; }
.hx-links { display: none; margin-left: auto; align-items: center; }
.hx-links a { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.65); transition: color .2s, background .2s; }
.hx-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.hx-nav .hx-btn--sm { display: none; margin-left: 16px; }
.hx-burger { margin-left: auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.3px; width: 36px; height: 36px; padding: 0; background: none; border: 0; cursor: pointer; }
.hx-burger span { width: 14px; height: 1.7px; border-radius: 2px; background: rgba(255,255,255,.65); }
@media (min-width: 1080px) {
  .hx-links { display: flex; }
  .hx-nav .hx-btn--sm { display: inline-flex; }
  .hx-burger { display: none; }
}

/* drawer mobile em versão escura */
.drawer-panel { background: #0a0a0a; color: #fff; border-left: 1px solid var(--hx-line-d); }
.drawer-panel a { color: rgba(255,255,255,.8); }
.drawer-panel a:hover { background: rgba(255,255,255,.06); }
.drawer-panel .hx-btn { margin-top: auto; color: #000; }
.drawer-panel .hx-btn:hover { background: var(--hx-green); }
.drawer-close { color: rgba(255,255,255,.6); }
.drawer:not(.open) { visibility: hidden; transition: visibility 0s .34s; }
.drawer.open { visibility: visible; transition: none; }

/* ---------- hero ---------- */
.hx-hero {
  position: relative; overflow: hidden; background: #000; color: #fff;
  min-height: 88vh; display: flex; align-items: center; padding: 64px 0 112px;
}
@media (min-width: 768px) { .hx-hero { padding: 144px 0; } }
.hx-hero-in { position: relative; z-index: 1; width: 100%; max-width: calc(896px + 64px); }
.hx-hero h1 {
  margin: 24px 0 32px; max-width: 896px; color: #fff;
  font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.025em;
}
.hx-hero h1 span { color: var(--hx-green); }
.hx-lead { max-width: 672px; margin: 0 0 48px; font-size: 18px; font-weight: 300; line-height: 1.625; color: rgba(255,255,255,.7); }
.hx-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-stats { display: flex; flex-wrap: wrap; row-gap: 24px; margin-top: 80px; }
.hx-stats > div { padding: 0 24px; border-left: 1px solid var(--hx-line-d); }
.hx-stats > div:first-child { border-left: 0; }
.hx-stats b { display: block; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.025em; color: var(--hx-green); }
.hx-stats span { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hx-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 96px; }
.hx-partner span { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hx-partner i { width: 48px; height: 1px; background: rgba(255,255,255,.15); }
.hx-partner b { padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- serviços: lista numerada + painel ---------- */
.hx-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.hx-svc-item { display: contents; }
.hx-svc-tab {
  grid-column: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  width: 100%; padding: 24px 0 24px 24px; border: 0; border-top: 1px solid var(--hx-line);
  background: none; text-align: left; color: #000; cursor: pointer;
}
@media (min-width: 768px) { .hx-svc-tab { padding: 32px 0 32px 24px; } }
.hx-svc-item:last-child .hx-svc-tab { border-bottom: 1px solid var(--hx-line); }
.hx-svc-tab::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 32px;
  background: var(--brand-600); transform: translateY(-50%) scaleY(0); transition: transform .3s var(--ease);
}
.hx-svc-tab[aria-expanded="true"]::before { transform: translateY(-50%) scaleY(1); }
.hx-svc-meta { display: flex; align-items: center; gap: 12px; }
.hx-svc-title { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -.025em; color: rgba(0,0,0,.55); transition: color .2s; }
.hx-svc-tab:hover .hx-svc-title, .hx-svc-tab[aria-expanded="true"] .hx-svc-title { color: #000; }

.hx-svc-panel { grid-column: 1; padding: 0 0 40px 24px; }
.hx-svc-panel:not([hidden]) { animation: hxFade .45s var(--ease); }
.hx-svc-ic { width: 64px; height: 64px; margin-bottom: 32px; border-radius: 14px; background: var(--hx-pale); color: var(--hx-deep); display: flex; align-items: center; justify-content: center; }
.hx-svc-panel h3 { margin: 0 0 20px; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.025em; }
.hx-svc-panel p { margin: 0 0 28px; font-size: 18px; line-height: 1.625; color: rgba(0,0,0,.55); }
@media (min-width: 1024px) {
  html.anim .hx-svc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; }
  html.anim .hx-svc-panel { grid-column: 2; grid-row: 1 / span 9; align-self: start; padding: 0; position: sticky; top: 112px; }
}
.hx-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hx-pills span { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(0,158,78,.2); background: var(--hx-pale); color: var(--hx-deep); font-size: 12px; font-weight: 600; line-height: 16px; }
.hx-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hx-deep); }
.hx-more svg { transition: transform .2s var(--ease); }
.hx-more:hover svg { transform: translateX(3px); }

/* ---------- caso de destaque + tecnologias ---------- */
.hx-spot { position: absolute; top: 0; left: 0; right: 0; height: 640px; pointer-events: none; background: radial-gradient(ellipse 45% 60% at 50% 0%, rgba(0,240,118,.14), transparent 70%); }
.hx-case .hx-wrap { position: relative; z-index: 1; }
.hx-big { margin: 24px 0 8px; font-size: min(120px, 35vw); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--hx-green); }
.hx-case h2 { margin: 0 0 16px; font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.025em; }
.hx-sub { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 28px; color: rgba(255,255,255,.7); }
.hx-own { display: grid; gap: 16px; max-width: 960px; margin: 56px auto 0; text-align: left; }
@media (min-width: 640px) { .hx-own { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .hx-own { grid-template-columns: repeat(3, 1fr); } }
.hx-own-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 14px; border: 1px solid var(--hx-line-d); background: rgba(255,255,255,.02); transition: border-color .2s; }
a.hx-own-card:hover { border-color: rgba(0,240,118,.3); }
.hx-own-card .hx-tag { color: var(--hx-green); }
.hx-own-card b { font-size: 18px; font-weight: 600; color: #fff; }
.hx-own-card span:last-child { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.6); }

.hx-tech { position: relative; z-index: 1; margin-top: 112px; }
.hx-tech .hx-eyebrow { margin-bottom: 32px; }
.hx-marquee { position: relative; display: flex; flex-direction: column; gap: 8px; }
.hx-marquee::before, .hx-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 128px; pointer-events: none; }
.hx-marquee::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.hx-marquee::after { right: 0; background: linear-gradient(to left, #000, transparent); }
.hx-row { display: flex; gap: 16px; overflow: hidden; padding: 8px 0; }
.hx-track { display: flex; flex-shrink: 0; justify-content: space-around; gap: 16px; animation: hxMarquee 40s linear infinite; }
.hx-row--rev .hx-track { animation-direction: reverse; }
.hx-row:hover .hx-track { animation-play-state: paused; }
.hx-track span { margin: 0 12px; font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,.6); }
@keyframes hxMarquee { to { transform: translateX(calc(-100% - 16px)); } }
@keyframes hxFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hx-marquee::before, .hx-marquee::after { display: none; }
  .hx-row { flex-wrap: wrap; justify-content: center; }
  .hx-track[aria-hidden] { display: none; }
  .hx-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; min-width: 0; row-gap: 8px; }
}

/* ---------- diferenciais: grade 2×2 com divisórias ---------- */
.hx-grid4 { display: grid; grid-template-columns: minmax(0, 1fr); }
.hx-grid4 article { display: flex; flex-direction: column; gap: 12px; padding: 40px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.hx-grid4 article:last-child { border-bottom: 0; }
.hx-grid4 h3 { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -.025em; }
.hx-grid4 p { font-size: 16px; line-height: 1.65; color: rgba(0,0,0,.55); }
@media (min-width: 768px) {
  .hx-grid4 { grid-template-columns: 1fr 1fr; }
  .hx-grid4 article { padding: 48px 40px; }
  .hx-grid4 article:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.06); }
  .hx-grid4 article:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,.06); }
  .hx-grid4 article:nth-child(n+3) { border-bottom: 0; }
}

/* ---------- como funciona: 4 passos com divisórias ---------- */
#metodo .hx-wrap { position: relative; z-index: 1; }
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.hx-steps li { display: flex; flex-direction: column; gap: 12px; padding: 32px 0; border-top: 1px solid var(--hx-line-d); }
.hx-steps .hx-num { color: var(--hx-green); }
.hx-steps h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.hx-steps p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.6); }
.hx-steps em { margin-top: auto; padding-top: 8px; font-style: normal; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--hx-green); }
@media (min-width: 1024px) {
  .hx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hx-steps li { padding: 8px 32px; border-top: 0; border-left: 1px solid var(--hx-line-d); }
  .hx-steps li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- quem faz: provas do currículo em grade 3×2 ---------- */
#quem-faz .hx-wrap { position: relative; z-index: 1; }
.hx-proofs { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--hx-line-d); }
.hx-proofs > div { display: flex; flex-direction: column; gap: 6px; padding: 32px 0; border-bottom: 1px solid var(--hx-line-d); }
.hx-proofs b { font-size: 30px; font-weight: 700; line-height: 36px; letter-spacing: -.025em; color: var(--hx-green); }
.hx-proofs span { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hx-proofs p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.6); }
@media (min-width: 768px) {
  .hx-proofs { grid-template-columns: 1fr 1fr; }
  .hx-proofs > div { padding: 40px 32px 40px 0; }
  .hx-proofs > div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--hx-line-d); }
}
@media (min-width: 1024px) {
  .hx-proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-proofs > div, .hx-proofs > div:nth-child(even) { padding: 40px 32px; border-left: 1px solid var(--hx-line-d); }
  .hx-proofs > div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .hx-proofs > div:nth-child(n + 4) { border-bottom: 0; }
}

/* ---------- comece por aqui: componentes do style.css no padrão novo ---------- */
#planos .eyebrow { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--hx-deep); }
#planos .start-card { margin-top: 0; border: 1px solid var(--hx-line); border-radius: 16px; box-shadow: none; }
#planos .start-copy h3 { font-size: 30px; font-weight: 700; letter-spacing: -.025em; }
#planos .start-copy p { font-size: 17px; color: rgba(0,0,0,.55); }
#planos .start-copy li::before { color: var(--hx-deep); }
#planos .start-buy { border-radius: 14px; }
#planos .start-buy .eyebrow { color: var(--hx-green); }
#planos .start-buy .hx-btn { width: 100%; }
#planos .saving { border: 1px solid var(--hx-line); border-radius: 16px; background: #fff; }
#planos .saving-head { padding-top: 32px; }
#planos .saving-head h3 { margin-top: 16px; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
#planos .saving .calc-card { border-top-color: var(--hx-line); }
#planos .calc-out { background: #000; }
#planos .calc-out .label, #planos .calc-out .badge-est { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; }
#planos .start-price, #planos .calc-out .big, #planos .calc-field output, #planos .calc-in h3 { font-weight: 700; }
#planos .calc-field input[type=range]:focus-visible { outline: 2px solid var(--hx-deep); outline-offset: 6px; }

/* ---------- FAQ: lista com divisórias ---------- */
.hx-faq { border-top: 1px solid rgba(0,0,0,.06); }
.hx-faq .faq-list { display: block; max-width: 896px; margin: 0; }
.hx-faq .faq-list details { border: 0; border-top: 1px solid var(--hx-line); border-radius: 0; background: none; box-shadow: none; }
.hx-faq .faq-list details:last-child { border-bottom: 1px solid var(--hx-line); }
.hx-faq .faq-list details[open] { box-shadow: none; }
.hx-faq .faq-list summary { padding: 28px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; gap: 24px; }
.hx-faq .faq-list summary .plus { width: 32px; height: 32px; border-radius: 50%; border-color: rgba(0,0,0,.12); color: var(--hx-deep); }
.hx-faq .faq-list details[open] summary .plus { background: var(--hx-green); border-color: var(--hx-green); color: #000; }
.hx-faq .faq-list .faq-body { padding: 0 56px 28px 0; font-size: 17px; line-height: 1.65; color: rgba(0,0,0,.55); }

/* ---------- contato ---------- */
.hx-contact .hx-wrap { position: relative; z-index: 1; }
.hx-contact .cg { margin: 0 auto 24px; }
.hx-contact h2 { margin: 24px 0 16px; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.hx-contact h2 span { color: var(--hx-green); }
.hx-contact .hx-sub { margin-bottom: 48px; }
.hx-cards { display: grid; gap: 16px; max-width: 896px; margin: 64px auto 0; }
@media (min-width: 720px) { .hx-cards { grid-template-columns: repeat(3, 1fr); } }
.hx-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; border-radius: 14px; border: 1px solid var(--hx-line-d); background: rgba(255,255,255,.02); transition: border-color .2s; }
.hx-card:hover { border-color: rgba(0,240,118,.3); }
.hx-card-ic { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(0,240,118,.1); color: var(--hx-green); }
.hx-card-k { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hx-card b { font-size: 16px; font-weight: 600; color: #fff; transition: color .2s; }
.hx-card:hover b { color: var(--hx-green); }

/* ---------- rodapé ---------- */
.hx-foot { background: #000; color: #fff; padding: 96px 0; }
.hx-foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.hx-foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .hx-foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hx-foot-brand { grid-column: auto; } }
@media (min-width: 1100px) { .hx-foot-grid:has(> :nth-child(5)) { grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); } }
.hx-foot-brand p { max-width: 320px; margin-top: 20px; font-size: 14px; line-height: 1.625; color: rgba(255,255,255,.7); }
.hx-foot h2 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hx-foot-col a { display: block; width: fit-content; padding: 8px 0; font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.hx-foot-col a:hover { color: var(--hx-green); }
.hx-foot-note { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.55); }
.hx-social { display: flex; gap: 8px; margin-top: 16px; }
.hx-foot-col .hx-social a { width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.hx-legal { max-width: 820px; margin-top: 56px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.55); }
.hx-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.06); font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp: uma bolha só, também no celular ---------- */
@media (max-width: 719px) { .wa-float { bottom: 18px; } }

/* ---------- escala de tipo em degraus (os mesmos do HubXP: celular, 768, 1024) ---------- */
@media (min-width: 768px) {
  .hx-head:has(> h2:last-child) { margin-bottom: 64px; }
  .hx-head h2, .hx-case h2 { font-size: 48px; line-height: 1; }
  .hx-hero h1 { font-size: 72px; }
  .hx-lead, .hx-sub { font-size: 20px; }
  .hx-contact h2 { font-size: 60px; }
  .hx-big { font-size: 180px; }
  .hx-svc-title, .hx-grid4 h3, .hx-track span { font-size: 30px; line-height: 36px; }
  .hx-svc-panel h3, #planos .start-copy h3 { font-size: 36px; line-height: 40px; }
  .hx-stats b, .hx-proofs b { font-size: 36px; line-height: 40px; }
  #planos .saving-head h3 { font-size: 30px; }
  .hx-faq .faq-list summary { font-size: 20px; }
}
@media (min-width: 1024px) { .hx-hero h1 { font-size: 80px; line-height: .95; } }

/* ---------- páginas de serviço (/servicos/*.html) ---------- */
.hx-hero--page { min-height: auto; padding: 128px 0 96px; }
@media (min-width: 768px) { .hx-hero--page { padding: 160px 0 112px; } }
.hx-crumb { margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hx-crumb a { color: rgba(255,255,255,.7); }
.hx-crumb a:hover { color: var(--hx-green); }
.hx-deliv { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 64px; list-style: none; margin: 0; padding: 0; }
.hx-deliv li { display: flex; gap: 20px; padding: 28px 0; border-top: 1px solid var(--hx-line); }
.hx-deliv li:last-child { border-bottom: 1px solid var(--hx-line); }
.hx-deliv p { font-size: 17px; line-height: 1.6; color: rgba(0,0,0,.7); }
@media (min-width: 768px) {
  .hx-deliv { grid-template-columns: 1fr 1fr; }
  .hx-deliv li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--hx-line); }
}
@media (min-width: 1024px) { .hx-steps--auto { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.hx-two { display: grid; gap: 48px; }
@media (min-width: 900px) { .hx-two { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hx-two h3 { margin-bottom: 20px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.hx-checks { list-style: none; margin: 0; padding: 0; }
.hx-checks li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--hx-line); font-size: 16px; line-height: 1.55; color: rgba(0,0,0,.7); }
.hx-checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); }
.hx-related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hx-related a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hx-line-d); color: rgba(255,255,255,.75); font-size: 14px; transition: border-color .2s, color .2s; }
.hx-related a:hover { border-color: rgba(0,240,118,.4); color: #fff; }

/* segundo grupo de serviços da home: continua a seção branca de cima */
.hx-sec--cont { padding-top: 0; }

/* ---------- menu "Serviços ▾" da nav (padrão hubxp) ---------- */
/* o menu ancora na barra inteira (alinhado à direita), para caber com 3 grupos */
.hx-nav-in { position: relative; }
.hx-dd { position: static; }
.hx-dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.65); cursor: pointer; transition: color .2s, background .2s; }
.hx-dd-btn:hover, .hx-dd-btn[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.06); }
.hx-dd-btn:focus-visible { outline: 2px solid var(--hx-green); outline-offset: 2px; }
.hx-dd-btn svg { transition: transform .2s var(--ease); }
.hx-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hx-dd-menu { position: absolute; top: calc(100% - 4px); right: 32px; left: auto; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 40px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--hx-line-d); background: #0a0a0a; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.hx-dd-h { margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hx-links .hx-dd-menu a { display: block; padding: 7px 0; border-radius: 0; background: none; font-size: 14px; color: rgba(255,255,255,.75); }
.hx-links .hx-dd-menu a:hover { color: var(--hx-green); background: none; }
.hx-blog-link { max-width: 896px; margin-top: 32px; font-size: 16px; color: rgba(0,0,0,.6); }
.hx-blog-link a { color: var(--hx-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
