/* Hanei Tech — páginas de produto e seção "Produtos" da página inicial */

/* ───── Página de produto ───── */
.topo--simples { background: rgba(3, 5, 12, .94); }
.pp-main { padding-top: calc(var(--topo-h) + clamp(40px, 6vw, 96px)); }
.pp-hero { padding: 0 var(--m); display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 96px); align-items: end; }
.pp-rotulo { font-weight: 600; font-size: var(--step-small); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 24px; }
.pp-hero h1 { font-size: var(--step-display); max-width: 11ch; }
.pp-hero-texto { display: grid; gap: 28px; justify-items: start; }
.pp-hero-texto p { color: var(--silver); font-size: var(--step-lead); line-height: 1.5; max-width: 38ch; }
.pp-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.pp-demo { padding: clamp(64px, 8vw, 128px) var(--m) 0; }
.pp-demo-topo { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.pp-demo-topo h2 { font-size: var(--step-head); }
.pp-abas { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-aba {
  font: 600 var(--step-small)/1 var(--font); color: var(--silver); background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; min-height: 44px; padding: 0 20px; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pp-aba:hover { color: var(--ink); }
.pp-aba[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pp-nota { margin-top: 20px; font-size: var(--step-small); color: var(--muted); max-width: 70ch; }
.pp-recursos { padding: clamp(64px, 8vw, 128px) var(--m) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.pp-recursos > h2 { grid-column: 1 / -1; font-size: var(--step-head); }
.pp-recurso h3 { font-size: var(--step-lead); letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.15; }
.pp-recurso p { color: var(--silver); font-size: var(--step-small); line-height: 1.55; }
.pp-recurso b { display: block; font-size: var(--step-small); font-weight: 600; color: var(--accent-text); margin-bottom: 14px; }
.pp-fim { padding: clamp(80px, 10vw, 160px) var(--m) clamp(80px, 10vw, 140px); display: grid; gap: 28px; justify-items: start; }
.pp-fim h2 { font-size: var(--step-display); max-width: 12ch; }
.pp-fim p { color: var(--silver); font-size: var(--step-lead); max-width: 40ch; line-height: 1.5; }
.pp-rodape { background: #01030A; padding: 32px var(--m); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--step-small); color: var(--muted); }
.pp-rodape a { color: var(--silver); padding: 10px 0; display: inline-block; }

/* ───── Aplicativo de exemplo (tela clara, dentro de uma janela) ───── */
.janela { border-radius: 14px; overflow: hidden; background: #fff; }
.janela-barra { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #E9EDF5; }
.janela-barra i { width: 10px; height: 10px; border-radius: 50%; background: #B9C2D3; }
.janela-barra span { margin-left: 14px; font-size: 13px; color: #475569; background: #fff; padding: 3px 14px; border-radius: 999px; }
.tela { container-type: inline-size; }
.tela[hidden] { display: none; }
.js .tela { container-type: inline-size; }
.tela[hidden] { display: none; }
html:not(.js) .tela[hidden] { display: block; }
html:not(.js) .tela { margin-bottom: 24px; }

.app, .app-entrar {
  --a-bg: #F4F6FB; --a-card: #FFFFFF; --a-ink: #0F172A; --a-muted: #566175; --a-line: #E1E7F1; --a-acc: #1F63FF; --a-acc-soft: #E6EEFF;
  --a-ok: #066A49; --a-ok-bg: #DDF5EA; --a-warn: #8A4B00; --a-warn-bg: #FDEBCB; --a-bad: #A11A1A; --a-bad-bg: #FDE0E0;
  background: var(--a-bg); color: var(--a-ink); font-family: var(--font);
  display: grid; grid-template-columns: 220px 1fr; min-height: 560px; font-size: 15px; line-height: 1.4;
}
.app *, .app-entrar * { box-sizing: border-box; margin: 0; }
.app-lado { background: #0B1226; color: #C9D3E8; padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
.app-loja { font-weight: 700; font-size: 17px; color: #fff; padding: 0 10px 18px; letter-spacing: -0.01em; }
.app-loja small { display: block; font-weight: 500; font-size: 13px; color: #98A6C4; margin-top: 2px; }
.app-lado span { padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.app-lado span[data-on] { background: #1F63FF; color: #fff; }
.app-lado .app-sair { margin-top: auto; color: #98A6C4; font-weight: 500; }
.app-corpo { padding: 24px 28px 28px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.app-titulo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-titulo h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.app-btn { display: inline-flex; align-items: center; background: var(--a-acc); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 10px; white-space: nowrap; }
.app-btn--claro { background: var(--a-card); color: var(--a-ink); border: 1px solid var(--a-line); }
.app-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 20px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-kpi { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 16px 18px; }
.app-kpi small { display: block; color: var(--a-muted); font-weight: 600; font-size: 13px; }
.app-kpi b { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; margin-top: 4px; }
.app-kpi--alerta b { color: var(--a-bad); }
.app-tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.app-tabela th { text-align: left; color: var(--a-muted); font-weight: 600; font-size: 13px; padding: 0 12px 10px 0; border-bottom: 1px solid var(--a-line); }
.app-tabela td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--a-line); vertical-align: middle; }
.app-tabela tr:last-child td { border-bottom: 0; }
.app-tabela td:first-child { font-weight: 600; }
.app-tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.app-barra { display: block; width: 100%; max-width: 140px; height: 8px; border-radius: 99px; background: #E6EBF4; overflow: hidden; margin-top: 6px; }
.app-barra i { display: block; height: 100%; border-radius: 99px; background: var(--a-acc); }
.app-barra--baixo i { background: #D97706; }
.app-barra--critico i { background: #DC2626; }
.app-selo { display: inline-block; padding: 3px 10px; border-radius: 99px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.app-selo--ok { background: var(--a-ok-bg); color: var(--a-ok); }
.app-selo--baixo { background: var(--a-warn-bg); color: var(--a-warn); }
.app-selo--critico { background: var(--a-bad-bg); color: var(--a-bad); }
.app-form { display: grid; gap: 14px; }
.app-form h4 { font-size: 18px; letter-spacing: -0.01em; }
.app-campo { display: grid; gap: 5px; font-weight: 600; font-size: 13px; color: var(--a-muted); }
.app-campo span:last-child { font-weight: 500; font-size: 15px; color: var(--a-ink); background: var(--a-bg); border: 1px solid var(--a-line); border-radius: 10px; padding: 11px 13px; }
.app-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.app-aviso { font-size: 13.5px; color: var(--a-muted); }
.app-entrar { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 28px; background: var(--a-bg); }
.app-entrar-caixa { width: min(100%, 880px); min-width: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 18px; overflow: hidden; }
.app-entrar-form { padding: 32px; display: grid; gap: 14px; align-content: start; }
.app-entrar-form h4 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; }
.app-entrar-lado { background: #0B1226; color: #fff; padding: 32px; display: grid; gap: 18px; align-content: center; }
.app-entrar-lado h4 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.app-entrar-lado li { list-style: none; padding-left: 28px; position: relative; color: #C9D3E8; }
.app-entrar-lado li::before { content: "✓"; position: absolute; left: 0; color: #5C95FF; font-weight: 800; }
.app-entrar-lado ul { padding: 0; display: grid; gap: 10px; }
.app-entrar-tabs { display: flex; gap: 6px; background: var(--a-bg); padding: 4px; border-radius: 10px; width: fit-content; font-weight: 700; font-size: 14px; }
.app-entrar-tabs span { padding: 7px 14px; border-radius: 8px; color: var(--a-muted); }
.app-entrar-tabs span[data-on] { background: #fff; color: var(--a-ink); }

/* Agenda */
.ag-filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-filtros span { padding: 7px 14px; border-radius: 99px; background: var(--a-card); border: 1px solid var(--a-line); font-weight: 600; font-size: 13.5px; }
.ag-filtros span[data-on] { background: var(--a-acc); border-color: var(--a-acc); color: #fff; }
.ag-corpo { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.ag-grade { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 10px 14px 14px; display: grid; grid-template-columns: 44px repeat(6, minmax(0, 1fr)); grid-template-rows: 50px repeat(10, 52px); }
.ag-dia { font-weight: 700; font-size: 13px; text-align: center; padding-top: 8px; color: var(--a-ink); }
.ag-dia small { display: block; font-weight: 500; color: var(--a-muted); font-size: 12px; }
.ag-hora { font-size: 12px; color: var(--a-muted); transform: translateY(-8px); font-variant-numeric: tabular-nums; }
.ag-linha { border-top: 1px solid var(--a-line); grid-column: 2 / -1; }
.ag-item { margin: 3px 4px; padding: 6px 8px; border-radius: 10px; font-size: 12.5px; line-height: 1.25; background: var(--a-acc-soft); color: #0B2A78; border-left: 3px solid var(--a-acc); overflow: hidden; z-index: 1; }
.ag-item b { display: block; font-size: 13px; }
.ag-item--b { background: #DDF5EA; color: #064E36; border-left-color: #0E9F6E; }
.ag-item--c { background: #FDEBCB; color: #6B3A00; border-left-color: #D97706; }
.ag-lista { display: none; }
.ag-lateral { display: grid; gap: 14px; }
.ag-lateral .app-card { display: grid; gap: 12px; }
.ag-lateral h4 { font-size: 17px; letter-spacing: -0.01em; }
.ag-status { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.ag-status span::before { content: "✓"; color: #0E9F6E; font-weight: 800; margin-right: 8px; }
.ag-dia-lista { display: grid; gap: 8px; }
.ag-dia-lista h4 { font-size: 15px; }

/* Site do local */
.sl { background: #FBF6EE; color: #2A1B14; min-height: 560px; font-family: var(--font); }
.sl * { box-sizing: border-box; margin: 0; }
.sl-topo { display: flex; align-items: center; gap: 24px; padding: 20px 5cqi; }
.sl-topo b { font-size: 20px; letter-spacing: -0.02em; }
.sl-topo nav { margin-left: auto; display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.sl-botao { display: inline-block; background: #9C3D2B; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 99px; font-size: 15px; white-space: nowrap; }
.sl-botao--claro { background: #fff; color: #2A1B14; border: 1px solid #E5D8C6; }
.sl-hero { padding: 5cqi 5cqi 4cqi; display: grid; grid-template-columns: 1.4fr 1fr; gap: 5cqi; align-items: center; }
.sl-hero h4 { font-size: clamp(36px, 5.4cqi, 76px); line-height: .98; letter-spacing: -0.035em; max-width: 12ch; }
.sl-hero p { font-size: 18px; line-height: 1.5; max-width: 44ch; margin: 18px 0 24px; }
.sl-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.sl-historia { background: #fff; border-radius: 18px; padding: 24px; }
.sl-historia h5 { font-size: 18px; margin-bottom: 8px; }
.sl-historia p { font-size: 15px; line-height: 1.55; margin: 0; max-width: none; }
.sl-faixa { background: #2A1B14; color: #FBF6EE; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 3cqi 5cqi; }
.sl-faixa div { font-size: 15px; }
.sl-faixa b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.sl-aval { padding: 4cqi 5cqi; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sl-aval figure { background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.sl-aval .e { color: #9C3D2B; letter-spacing: 3px; }
.sl-aval figcaption { font-weight: 700; }

/* WhatsApp + Google Agenda (aviso) */
.av { background: var(--a-bg, #F4F6FB); min-height: 560px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; font-family: var(--font); color: #0F172A; }
.av * { box-sizing: border-box; margin: 0; }
.av-celular { justify-self: center; width: min(100%, 340px); background: #0B1226; border-radius: 34px; padding: 10px; }
.av-chat { background: #E8E1D6; border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-height: 460px; }
.av-chat header { background: #0F5E4B; color: #fff; padding: 16px 18px; font-weight: 700; }
.av-chat header small { display: block; font-weight: 500; opacity: .9; font-size: 13px; }
.av-msgs { padding: 18px 14px; display: grid; gap: 10px; align-content: start; }
.av-msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; max-width: 92%; }
.av-msg b { display: block; margin-bottom: 4px; }
.av-msg small { display: block; color: #566175; margin-top: 6px; font-size: 12px; text-align: right; }
.av-msg--eu { background: #D6F3D4; justify-self: end; border-radius: 14px 4px 14px 14px; }
.av-lado { display: grid; gap: 14px; }
.av-lado h4 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.av-evento { background: #fff; border: 1px solid #E1E7F1; border-left: 5px solid #1F63FF; border-radius: 12px; padding: 14px 16px; font-size: 15px; display: grid; gap: 3px; }
.av-evento small { color: #566175; font-weight: 600; }
.av-evento b { font-size: 17px; }
.av-passos { padding: 0; display: grid; gap: 10px; counter-reset: p; }
.av-passos li { list-style: none; counter-increment: p; padding-left: 40px; position: relative; font-size: 15px; line-height: 1.45; }
.av-passos li::before { content: counter(p); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: #1F63FF; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }

@container (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app-lado { flex-direction: row; flex-wrap: wrap; gap: 4px; padding: 14px 12px; }
  .app-loja { flex-basis: 100%; padding: 0 8px 8px; }
  .app-lado span { padding: 8px 12px; font-size: 14px; }
  .app-lado .app-sair { margin-top: 0; }
  .app-corpo { padding: 20px 16px 24px; }
  .app-cols, .ag-corpo { grid-template-columns: 1fr; }
  .app-kpis { grid-template-columns: 1fr; }
  .app-entrar-caixa, .av { grid-template-columns: minmax(0, 1fr); }
  .app-entrar { padding: 16px; }
  .app-entrar-form, .app-entrar-lado { padding: 24px; }
  .av { padding: 20px 16px; }
}
@container (max-width: 640px) {
  .ag-grade { display: none; }
  .ag-lista { display: grid; gap: 16px; }
  .app-tabela .esconde { display: none; }
  .sl-topo nav { display: none; }
  .sl-topo { justify-content: space-between; padding: 16px; }
  .sl-hero { grid-template-columns: 1fr; padding: 32px 16px; }
  .sl-faixa { grid-template-columns: 1fr; padding: 24px 16px; }
  .sl-aval { grid-template-columns: 1fr; padding: 28px 16px; }
  .app-duas { grid-template-columns: 1fr; }
}

/* ───── Página inicial: seção Produtos ───── */
.produtos { padding: var(--gap-secao) var(--m) 0; }
.produtos-abertura { display: grid; gap: 24px; padding-left: 35%; margin-bottom: clamp(72px, 8vw, 128px); }
.produtos-abertura h2 { max-width: 10ch; }
.produtos-abertura p { color: var(--silver); font-size: var(--step-lead); line-height: 1.5; max-width: 38ch; }
.produto { display: grid; grid-template-columns: 35% 1fr; column-gap: 32px; align-items: start; margin-top: clamp(96px, 9vw, 140px); }
.produto:first-of-type { margin-top: 0; }
.produto-num { font-weight: 600; font-size: var(--step-small); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.produto-texto { max-width: 38ch; display: grid; gap: 18px; justify-items: start; }
.produto-texto h3 { font-size: var(--step-head); max-width: 14ch; }
.produto-texto p { color: var(--silver); }
.produto-texto ul { padding: 0; margin: 0; display: grid; gap: 8px; color: var(--silver); font-size: var(--step-small); }
.produto-texto li { list-style: none; padding-left: 24px; position: relative; }
.produto-texto li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--accent); }
.produto-tela { display: block; border-radius: var(--raio-midia); overflow: hidden; background: var(--surface); }
.produto-tela img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.produto-tela:hover img { transform: scale(1.03); }
.produto--lista { grid-template-columns: 35% minmax(0, 1fr); }
.produto-palco { min-width: 0; }

/* Carrossel */
.carrossel { position: relative; min-width: 0; }
.carrossel-trilho {
  display: flex; gap: 20px; padding: 0 0 8px; margin: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel:focus-visible, .carrossel-trilho:focus-visible { outline-offset: 6px; }
.carrossel-item { flex: 0 0 min(560px, 84%); scroll-snap-align: start; display: grid; gap: 14px; }
.carrossel-aparelhos { position: relative; padding: 0 0 8% 12%; }
.carrossel-pc { border-radius: 10px; overflow: hidden; background: var(--surface); }
.carrossel-pc img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.carrossel-cel { position: absolute; left: 0; bottom: 0; width: 24%; border-radius: 22px; padding: 6px; background: #0E1628; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); } /* taste-skill-ignore: o celular flutua sobre a tela do computador */
.carrossel-cel img { border-radius: 17px; width: 100%; aspect-ratio: 390 / 820; object-fit: cover; object-position: top; }
.carrossel-legenda { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.carrossel-legenda b { font-size: var(--step-lead); letter-spacing: -0.01em; }
.carrossel-legenda div span { color: var(--muted); font-size: var(--step-small); display: block; }
.carrossel-legenda a { color: var(--accent-text); font-weight: 600; text-decoration: none; padding: 12px 0; white-space: nowrap; }
.carrossel-legenda a:hover { text-decoration: underline; text-underline-offset: .3em; }
.carrossel-botoes { display: flex; gap: 10px; margin-top: 16px; }
.carrossel-botao {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--accent); background: none; color: var(--accent-text); cursor: pointer; /* taste-skill-ignore: mesmo contorno dos botões da arte */
  display: grid; place-items: center; transition: background-color .2s var(--ease), opacity .2s var(--ease);
}
.carrossel-botao:hover:not(:disabled) { background: rgba(31, 99, 255, .16); }
.carrossel-botao:disabled { opacity: .35; cursor: default; }
.carrossel-botao svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .carrossel-botoes { display: none; }
@media (prefers-reduced-motion: reduce) { .carrossel-trilho { scroll-behavior: auto; } .produto-tela img { transition: none; } }

@media (max-width: 1100px) {
  .pp-hero { grid-template-columns: 1fr; row-gap: 40px; }
  .pp-recursos { grid-template-columns: 1fr 1fr; }
  .produtos-abertura { padding-left: 20%; }
  .produto, .produto--lista { grid-template-columns: 1fr; row-gap: 36px; }
}
@media (max-width: 900px) {
  .topo--simples .topo-links a:not(:first-child), .topo--simples .topo-conversar { display: none; }
  .topo--simples .topo-links { display: flex; justify-self: end; }
}
@media (max-width: 720px) {
  .pp-recursos { grid-template-columns: 1fr; }
  .produtos-abertura { padding-left: 0; }
  .carrossel-item { flex-basis: 88%; }
  .pp-demo-topo { align-items: start; }
}
