/* MacHub Sensi — landing */

body.landing {
  --ln-sup: rgba(28, 28, 30, .72);
  --ln-sup-2: rgba(255, 255, 255, .05);
  --ln-borda: rgba(255, 255, 255, .09);
  --ln-borda-forte: rgba(255, 255, 255, .18);
  --ln-acento: #0a84ff;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
body.landing.claro {
  --ln-sup: rgba(255, 255, 255, .86);
  --ln-sup-2: #f6f7fb;
  --ln-borda: rgba(20, 30, 70, .1);
  --ln-borda-forte: rgba(20, 30, 70, .22);
  --ln-acento: #007aff;
}

.landing main { flex: 1; }
.landing [id] { scroll-margin-top: 28px; }
.ln-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }

/* barra de novidades */
.ln-aviso {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 8px 16px;
  background: linear-gradient(180deg, #fff, #e9edf5);
  color: #0b0d12; font-size: 14px; text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(10, 14, 30, .08);
}
.ln-aviso svg { flex: none; width: 17px; height: 17px; fill: currentColor; }
.ln-aviso svg:last-child { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ln-aviso:hover svg:last-child { transform: translateX(3px); }
.ln-aviso b { font-weight: 700; }
.ln-aviso span { color: #2b3140; }
body.claro .ln-aviso { background: linear-gradient(180deg, #161a24, #0b0d12); color: #fff; box-shadow: none; }
body.claro .ln-aviso span { color: #c9cfdc; }

/* topo */
.ln-topo { position: sticky; top: 12px; z-index: 40; margin-top: 14px; }
.ln-topo::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; z-index: -1; height: 136px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--page) 55%, transparent), transparent 85%);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.ln-topo.rolou::before { opacity: 1; }
.ln-nav {
  display: flex; align-items: center; gap: 20px;
  height: 68px; padding: 0 10px 0 16px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02)), rgba(16,18,26,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 34px -12px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  transition: background .3s, box-shadow .3s;
}
.ln-topo.rolou .ln-nav {
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)), rgba(14,16,24,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 40px -14px rgba(0,0,0,.75);
}
body.claro .ln-nav { border-color: rgba(20,30,70,.1); background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.75)); box-shadow: inset 0 1px 0 #fff, 0 12px 30px -14px rgba(20,30,70,.28); }
body.claro .ln-topo.rolou .ln-nav { background: rgba(255,255,255,.86); }

.ln-marca { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.ln-marca img { width: 40px; height: 40px; border-radius: 12px; }
.ln-marca b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.ln-marca em { display: none; }
.ln-links { display: flex; gap: 4px; margin-left: 8px; }
.ln-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, background .15s; }
.ln-links a:hover { background: var(--ln-sup-2); color: var(--text); }
.ln-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ln-entrar {
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: #fff; color: #0b0d12; font-size: 15px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; transition: background .15s, transform .15s;
}
.ln-entrar:hover { background: #eceff4; }
.ln-entrar:active { transform: scale(.97); }
body.claro .ln-entrar { background: #0b0d12; color: #fff; }
body.claro .ln-entrar:hover { background: #262a35; }
.ln-burguer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text); cursor: pointer; transition: background .15s; }
.ln-burguer:hover { background: rgba(255,255,255,.1); }
.ln-burguer i { width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.ln-burguer[aria-expanded="true"] i:first-child { transform: translateY(4.25px) rotate(45deg); }
.ln-burguer[aria-expanded="true"] i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
body.claro .ln-burguer { border-color: rgba(20,30,70,.12); background: rgba(20,30,70,.04); }

/* menu do burguer */
.menu {
  position: fixed; z-index: 45; top: 104px; right: 40px;
  display: flex; flex-direction: column; gap: 2px;
  width: min(280px, calc(100vw - 32px)); padding: 8px;
  border: 1px solid var(--ln-borda); border-radius: 20px;
  background: color-mix(in srgb, var(--screen) 92%, transparent);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.menu.aberto { opacity: 1; visibility: visible; transform: none; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 13px; background: transparent; color: var(--text); font-size: 14.5px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.menu-item:hover { background: var(--ln-sup-2); }
.menu-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ln-sup-2); }
.menu-ico svg { width: 17px; height: 17px; fill: currentColor; }

/* hero */
.ln-hero { display: flex; justify-content: center; padding-top: 64px; padding-bottom: 54px; }
.ln-hero-txt { display: flex; flex-direction: column; align-items: center; max-width: 880px; text-align: center; }
.ln-selo-topo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px; border: 1px solid var(--ln-borda); border-radius: 999px; background: var(--ln-sup); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ln-selo-topo i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulsa 2s infinite; }
@keyframes pulsa { 50% { opacity: .35; } }
.ln-hero h1 { text-wrap: balance; font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.ln-hero h1 span { color: var(--ln-acento); white-space: nowrap; }
.ln-lead { max-width: 640px; margin: 18px 0 28px; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; }
.ln-hero-acoes { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ln-entrar.grande { height: 56px; padding: 0 32px; font-size: 16.5px; }
.ln-vazado { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border: 1px solid var(--ln-borda-forte); border-radius: 999px; background: var(--ln-sup); color: var(--text); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.ln-vazado:hover { background: var(--ln-sup-2); border-color: var(--ln-borda-forte); }
.ln-numeros { display: flex; justify-content: center; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.ln-numeros div { display: flex; flex-direction: column; gap: 2px; }
.ln-numeros b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ln-numeros em { color: var(--muted); font-size: 12.5px; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* mosaico de serviços */
.ln-servicos { margin-bottom: 12px; }
.ln-mosaico { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ln-pacote { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 196px; padding: 18px; border: 1px solid var(--ln-borda); border-radius: 20px; background: var(--ln-sup); box-shadow: 0 1px 2px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ln-pacote h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.ln-pacote hr { width: 100%; height: 0; margin: 12px 0; border: 0; border-top: 1px solid var(--ln-borda); }
.ln-rotulo { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.ln-pacote ul { display: flex; flex-direction: column; gap: 6px; }
.ln-pacote li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.4; }
.ln-pacote li::before { content: "•"; position: absolute; top: 0; left: 2px; color: var(--muted); }
body.claro .ln-pacote { box-shadow: 0 1px 3px rgba(20,30,70,.06); }

/* vantagens */
.ln-vantagens ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ln-borda); border-radius: 20px; background: var(--ln-sup); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ln-vantagens li { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-left: 1px solid var(--ln-borda); }
.ln-vantagens li:first-child { border-left: 0; }
.ln-vantagens b { display: block; font-size: 14px; font-weight: 600; }
.ln-vantagens em { display: block; margin-top: 1px; color: var(--muted); font-size: 12.5px; font-style: normal; }

/* seções */
.ln-secao { padding-top: 80px; }
.ln-cabeca { margin-bottom: 28px; text-align: center; }
.ln-cabeca h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.ln-cabeca p { max-width: 620px; margin: 10px auto 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* passos */
.ln-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ln-passo { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--ln-borda); border-radius: 20px; background: var(--ln-sup); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ln-passo i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ln-sup-2); color: var(--ln-acento); font-size: 14px; font-style: normal; font-weight: 800; }
.ln-passo b { font-size: 16px; font-weight: 600; }
.ln-passo p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* dúvidas */
.ln-perguntas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ln-pergunta { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--ln-borda); border-radius: 20px; background: var(--ln-sup); box-shadow: 0 1px 2px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ln-pergunta h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.ln-pergunta hr { width: 100%; height: 0; margin: 12px 0; border: 0; border-top: 1px solid var(--ln-borda); }
.ln-pergunta p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
body.claro .ln-pergunta { box-shadow: 0 1px 3px rgba(20,30,70,.06); }

/* final */
.ln-final { padding-top: 56px; }
.ln-final-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border: 1px solid var(--ln-borda); border-radius: 24px; background: var(--ln-sup); box-shadow: 0 1px 2px rgba(0,0,0,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ln-final-card h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.ln-final-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.ln-final-card .ln-entrar { flex: none; }

/* rodapé */
.ln-rodape { display: flex; align-items: center; gap: 24px; margin-top: 56px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--ln-borda); }
.ln-wrap.ln-rodape { width: calc(100% - 80px); max-width: 1280px; padding-left: 0; padding-right: 0; }
.ln-rodape .ln-marca img { width: 28px; height: 28px; border-radius: 8px; }
.ln-rodape .ln-marca b { font-size: 15px; }
.ln-termos { color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.ln-termos:hover { color: var(--text); }
.ln-rodape strong { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-align: right; }

/* card de login */
.lg-abas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 18px 0 14px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); }
.lg-aba { height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .18s, color .18s; }
.lg-aba[aria-selected="true"] { background: var(--blue); color: #fff; }
.lg-form { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.lg-form.escondido { display: none; }
.lg-topo { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
.lg-topo img { flex: none; width: 40px; height: 40px; border-radius: 11px; }
.lg-topo h2 { font-size: 17px; }
.lg-topo p { margin-top: 1px; color: var(--muted); font-size: 12px; }
.lg-chave input { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.lg-chave input::placeholder { letter-spacing: .02em; }
.lg-dica { margin-top: -4px; color: var(--dim); font-size: 11px; line-height: 1.4; }
.lg-senha { position: relative; display: block; }
.lg-senha input { width: 100%; padding-right: 46px; }
.lg-olho { position: absolute; top: 50%; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 9px; background: none; color: var(--dim); cursor: pointer; }
.lg-olho svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lg-olho.ligado { color: var(--blue); }
.lg-erro { display: none; padding: 9px 12px; border: 1px solid rgba(255,90,110,.35); border-radius: 10px; background: rgba(255,90,110,.1); color: #ff8793; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.lg-erro.visivel { display: block; }
.campo.errado input { border-color: rgba(255,90,110,.6); }
.lg-aviso { margin-top: 14px; padding: 10px 12px; border: 1px solid rgba(255,183,77,.35); border-radius: 10px; background: rgba(255,183,77,.09); color: #ffcf87; font-size: 12.5px; line-height: 1.45; }
body.claro .lg-aviso { color: #8a5a00; }
.lg-aviso[hidden] { display: none; }

/* celular: card no alto da tela, pro teclado não empurrar nem cobrir */
.lg-modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px), (max-height: 700px) {
  .lg-modal.aberto { place-items: start center; padding-top: max(16px, 6vh); padding-bottom: 24px; }
}

.landing [data-revelar] { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.landing [data-revelar].dentro { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .ln-perguntas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-mosaico { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ln-vantagens ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-vantagens li:nth-child(3) { border-left: 0; }
  .ln-vantagens li:nth-child(n+3) { border-top: 1px solid var(--ln-borda); }
}
@media (max-width: 960px) {
  .ln-wrap { padding-left: 24px; padding-right: 24px; }
  .ln-wrap.ln-rodape { width: calc(100% - 48px); }
  .ln-hero { padding-top: 48px; padding-bottom: 40px; }
  .ln-passos { grid-template-columns: minmax(0, 1fr); }
  .menu { right: 24px; }
}
@media (max-width: 820px) { .ln-links { display: none; } }
@media (max-width: 640px) {
  .ln-so-desk { display: none; }
  .ln-aviso { min-height: 38px; padding: 7px 12px; gap: 6px; font-size: 12.5px; }
  .ln-aviso span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ln-topo { top: 8px; margin-top: 10px; }
  .ln-nav { height: 62px; gap: 10px; padding: 0 7px 0 12px; }
  .ln-marca img { width: 34px; height: 34px; border-radius: 10px; }
  .ln-marca b { font-size: 18px; }
  .ln-entrar { height: 44px; padding: 0 18px; font-size: 14.5px; }
  .ln-burguer { width: 44px; height: 44px; }
  .menu { top: 96px; right: 16px; }
  .ln-wrap { padding-left: 16px; padding-right: 16px; }
  .ln-hero { padding-top: 44px; padding-bottom: 36px; }
  .ln-hero-acoes { width: 100%; flex-direction: column; }
  .ln-entrar.grande, .ln-vazado { width: 100%; max-width: 380px; }
  .ln-numeros { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 16px 40px; margin-top: 32px; }
  .ln-numeros b { font-size: 22px; }
  .ln-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-pacote { min-height: 0; padding: 14px; }
  .ln-pacote h3 { font-size: 14.5px; }
  .ln-pacote li { font-size: 12.5px; }
  .ln-vantagens ul { grid-template-columns: minmax(0, 1fr); }
  .ln-vantagens li { border-left: 0; padding: 14px 16px; }
  .ln-vantagens li:nth-child(n+2) { border-top: 1px solid var(--ln-borda); }
  .ln-secao { padding-top: 60px; }
  .ln-perguntas { grid-template-columns: minmax(0, 1fr); }
  .ln-final { padding-top: 40px; }
  .ln-final-card { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 18px; text-align: center; }
  .ln-rodape { flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; text-align: center; }
  .ln-rodape .ln-marca { display: none; }
  .ln-rodape strong { margin-left: 0; text-align: center; }
  .ln-wrap.ln-rodape { width: calc(100% - 32px); }
  .ln-pergunta { padding: 16px; }
}
@media (max-width: 380px) {
  .ln-hero h1 { font-size: 32px; }
  .ln-pacote { padding: 12px; }
  .ln-pacote h3 { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing [data-revelar] { opacity: 1; transform: none; transition: none; }
  body.landing { scroll-behavior: auto; }
}

.lg-caixa { width: min(380px, 100%); }
