/* Versão oficial (23/09/2026): navegação em dois níveis e componentes novos.
   Carregado depois de styles.css e v3.css; só acrescenta ou sobrepõe. */

:root { --gov: #4f5b93; --support: #2f5e96; --ia: #b9420e; --linha: #155b43; }
html { scroll-padding-top: 78px; }

/* ---------------- nível 1: linhas de produto ---------------- */
.topo { background: #f6f8f6; border-bottom: 1px solid #e3e9e4; }
.context-page .topo, .gov-page .topo { background: #f6f8f6; }
.topo-inner { display: flex; align-items: stretch; gap: 28px; min-height: 76px; }
.topo .brand { align-self: center; font-size: 23px; }
.topo .brand img { width: 27px; height: 36px; }
.topo .brand > span > span { color: #155b43; }
.linhas { display: flex; align-items: stretch; gap: 4px; flex: 1; min-width: 0; }
.linhas a {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 10px 10px 0 0; color: #33443d; transition: background .18s;
  --cor: #155b43;
}
.linhas a[data-line="ia"] { --cor: var(--ia); }
.linhas a[data-line="gov"] { --cor: var(--gov); }
.linhas a > i { width: 9px; height: 9px; border-radius: 50%; background: var(--cor); flex: none; opacity: .55; }
.linhas a strong { display: block; font: 700 15px/1.25 Manrope, sans-serif; letter-spacing: -.2px; color: #1c2c26; }
.linhas a small { display: block; font-size: 11.5px; color: #6c7a73; line-height: 1.35; }
.linhas a .selo {
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .4px; color: var(--cor);
  border: 1px solid color-mix(in srgb, var(--cor) 35%, #fff); border-radius: 20px; padding: 1px 7px;
}
.linhas a:hover { background: #edf2ee; }
.linhas a[aria-current] { background: #fff; box-shadow: inset 0 -3px var(--cor); }
.linhas a[aria-current] > i { opacity: 1; }
.linhas a[data-line="gov"]:not([aria-current]) strong { color: #4a5552; }
.entrar {
  align-self: center; font-size: 14px; font-weight: 600; padding: 9px 16px; border: 1px solid #cfdad3;
  border-radius: 7px; background: #fff; white-space: nowrap;
}
.entrar:hover { border-color: #155b43; color: #155b43; }

/* ---------------- nível 2: seções da linha aberta (fixo ao rolar) ---------------- */
.secoes {
  position: sticky; top: 0; z-index: 30; background: #ffffffef; backdrop-filter: blur(14px);
  border-bottom: 1px solid #e8ece9;
}
.secoes[data-linha="ia"] { --linha: var(--ia); }
.secoes[data-linha="gov"] { --linha: var(--gov); }
.secoes-inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.secoes-nome { display: flex; align-items: center; gap: 9px; font: 700 14px Manrope, sans-serif; color: var(--linha); white-space: nowrap; }
.secoes-nome i { width: 8px; height: 8px; border-radius: 50%; background: var(--linha); }
.secoes nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.secoes nav > a:not(.button), .secoes nav > button { color: #33443d; background: none; border: 0; padding: 6px 0; font: inherit; }
.secoes nav > a:not(.button):hover, .secoes nav > button:hover { color: var(--linha); }
.secoes nav .button { background: var(--linha); }
.secoes nav .button:hover { filter: brightness(.9); }
.secoes .menu-toggle { display: none; margin-left: auto; }
.secoes .menu-toggle span { transition: transform .2s; }
.secoes .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.secoes .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.header { display: none; }

@media (max-width: 1100px) {
  .topo-inner { gap: 16px; }
  .linhas a { padding: 10px 12px; }
  .linhas a small { display: none; }
  .secoes .menu-toggle { display: grid; gap: 6px; padding: 13px 8px; border: 0; background: none; }
  .secoes .menu-toggle span { height: 2px; width: 24px; background: var(--ink); }
  .secoes nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 18px 24px 24px;
    flex-direction: column; align-items: stretch; gap: 4px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px #152b1814;
  }
  .secoes nav.open { display: flex; }
  .secoes nav > a:not(.button), .secoes nav > button { text-align: left; padding: 12px 0; border-bottom: 1px solid #eef1ef; font-size: 15px; }
  .secoes nav .button { margin-top: 12px; justify-content: center; }
}

@media (max-width: 760px) {
  .topo-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca entrar" "linhas linhas"; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .topo .brand { grid-area: marca; font-size: 21px; }
  .topo .brand img { width: 24px; height: 32px; }
  .entrar { grid-area: entrar; font-size: 13px; padding: 7px 13px; }
  .linhas { grid-area: linhas; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
  .linhas a { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; padding: 9px 9px 11px; }
  .linhas a strong { font-size: 12.5px; line-height: 1.2; }
  .linhas a .selo { display: none; }
  .secoes-inner { min-height: 54px; }
  .secoes-nome { font-size: 13px; }
}

/* ---------------- ajustes de página ---------------- */
.quote { top: 84px; }
.hero { padding-top: 64px; }
.hero-copy > p { max-width: 560px; }
.plan-card .composition { font-weight: 600; }

/* configurador: o que já vem no plano */
.included { margin: 16px 0 6px; border: 1px dashed #bfd3c5; border-radius: 10px; padding: 14px 16px; background: #f7faf7; }
.included:empty { display: none; }
.included .eyebrow { font-size: 10px; color: #5e765b; }
.included ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.included li { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: #3e4f47; }
.included li b { font-size: 11px; letter-spacing: .3px; background: #e6efe8; color: #1f4a36; border-radius: 5px; padding: 2px 7px; white-space: nowrap; }

/* equipe própria e prestadores: exemplo com números */
.money-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.money-col { border: 1px solid #dfe7e2; border-radius: 16px; padding: 22px; background: #fff; }
.money-col.receber { background: #f5f8fc; border-color: #dbe4ee; }
.money-col ol { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.money-col li { background: #f4f7f5; border-radius: 10px; padding: 10px 11px; min-width: 0; }
.money-col.receber li { background: #fff; }
.money-col li small { display: block; font-size: 11px; color: #6c7a73; }
.money-col li b { display: block; font: 700 15px/1.3 Manrope, sans-serif; margin-top: 3px; overflow-wrap: anywhere; }
.money-note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

/* controle antes do apontamento */
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.checks li { background: #ffffff14; border: 1px solid #ffffff24; border-radius: 12px; padding: 14px; color: #e7efe9; }
.checks li b { display: block; font-size: 12px; color: #b9d7c4; }
.checks li strong { display: block; font: 700 16px/1.3 Manrope, sans-serif; margin: 6px 0 4px; color: #fff; }
.checks li span { font-size: 12.5px; color: #c6d6cc; }
.checks li.ok { background: #d6ec9d; border-color: #d6ec9d; }
.checks li.ok b, .checks li.ok strong, .checks li.ok span { color: #173e30; }

/* jornada de contratação */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: j; }
.journey li { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.journey b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; }
.journey strong { display: block; font: 700 17px Manrope, sans-serif; margin: 12px 0 6px; }
.journey span { font-size: 14px; color: var(--muted); }
.journey-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 760px; }
#preco .journey { margin-top: 28px; }

/* outras linhas (faixa compacta) */
.other-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 30px 70px; }
.line-card { border-radius: 16px; padding: 26px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.line-card h3 { font-size: 21px; }
.line-card p { font-size: 14px; color: var(--muted); flex: 1; }
.line-ia { background: #fff4ec; border-color: #f0d3bf; }
.line-ia .eyebrow, .line-ia .text-link { color: var(--ia); }
.line-gov { background: #f2f3f9; border-color: #dadeeb; }
.line-gov .eyebrow, .line-gov .text-link { color: var(--gov); }
.line-custom .eyebrow, .line-custom .text-link { color: #0e7490; }

/* Conhecimento para IA */
.benefits-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefits-3 article { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.benefits-3 span { font: 700 13px Manrope, sans-serif; color: var(--ia); }
.benefits-3 h3 { font-size: 22px; margin: 12px 0 10px; }
.benefits-3 p { color: var(--muted); font-size: 15px; }
.usecases-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.usecases-4 article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.usecases-4 span { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--ia); }
.usecases-4 h3 { font-size: 18px; margin-top: 10px; }
.proof-line { margin-top: 24px; font-size: 15px; color: #5b4a3e; border-left: 3px solid var(--ia); padding-left: 14px; }
.sem-base { border: 1px dashed #d8cbc1; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; background: #faf8f6; }
.sem-base span { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #8b7f76; }
.sem-base p { margin-top: 6px; color: #6f625a; }
.sem-base small { color: #9a8d84; font-size: 12px; }
.com-base h3 { margin-top: 12px !important; }
.result-state-row { margin-top: 22px; }
.field-help { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.check-line { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 13.5px !important; }
.check-line input { width: auto !important; margin-top: 3px !important; flex: none; }
.check-line small { color: var(--muted); font-weight: 400; }
.it-details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.it-details summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; }
.it-details summary::-webkit-details-marker { display: none; }
.it-details summary strong { display: block; font: 700 20px Manrope, sans-serif; margin-top: 4px; }
.it-details summary > span:last-child { font-size: 24px; color: var(--ia); }
.it-details[open] summary > span:last-child { transform: rotate(45deg); }
.it-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 4px 26px 26px; }
.it-grid h3 { font-size: 16px; margin-bottom: 6px; }
.it-grid p { font-size: 14px; color: var(--muted); }
.it-section { padding-block: 10px 40px; }

/* formulários de pedido e de interesse */
.checkout-form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.checkout-form .wide, .gov-form .wide { grid-column: 1 / -1; }
.checkout-form textarea, .gov-form textarea { display: block; width: 100%; border: 1px solid #bdcebf; padding: 11px 13px; border-radius: 5px; margin-top: 7px; font: inherit; resize: vertical; }
.checkout-form label small { color: var(--muted); font-weight: 400; }
.checkout-finish.ok { margin: 0 0 18px; }
.checkout-finish.ok .eyebrow { color: var(--green); }
.checkout-finish.ok p { font-size: 14px; color: #3e4f47; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gov-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; }
.gov-form label { font-size: 13px; font-weight: 500; }
.gov-form input, .gov-form select { display: block; width: 100%; border: 1px solid #c7cde0; padding: 11px 13px; border-radius: 6px; margin-top: 7px; background: #fff; font: inherit; }
.gov-page { --green: #4f5b93; }
.gov-page .button { background: var(--gov); }
.gov-page .text-link { color: var(--gov); }
.gov-ok { max-width: 820px; border-radius: 12px; background: #f0f2f9; padding: 26px; }
.gov-ok .eyebrow { color: var(--gov); }
.gov-ok h3 { font-size: 24px; margin: 8px 0; }

/* ---------------- responsivo dos componentes novos ---------------- */
@media (max-width: 1100px) {
  .checks, .journey, .usecases-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .money-flow, .other-lines, .benefits-3 { grid-template-columns: 1fr; }
  .money-col ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote { position: static; }
}
@media (max-width: 620px) {
  .checks, .journey, .usecases-4, .it-grid, .checkout-form, .gov-form { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .other-lines { padding-block: 10px 50px; }
}
@media (prefers-reduced-motion: reduce) { .linhas a { transition: none; } }
@media (max-width: 420px) {
  .hero-copy { min-width: 0; }
  .gov-hero h1, .context-hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .product-signature { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .gov-hero, .context-hero { grid-template-columns: minmax(0, 1fr); }
  .gov-overview { padding: 24px; }
  .gov-overview h2 { font-size: 27px; overflow-wrap: anywhere; }
}

/* ---------------- tela "Entrar": primeiro a empresa ---------------- */
.entrar-page { background: #f6f8f6; min-height: 100vh; }
.entrar-topo { justify-content: space-between; align-items: center; }
.voltar-site { font-size: 14px; font-weight: 600; color: #33443d; }
.voltar-site:hover { color: #155b43; }
.entrar-main { display: flex; flex-direction: column; align-items: center; padding-block: 56px 70px; }
.entrar-card { width: min(480px, 100%); background: #fff; border: 1px solid #dfe7e2; border-radius: 18px; padding: 34px; box-shadow: 0 20px 40px #152b180d; }
.entrar-card .eyebrow { color: #155b43; }
.entrar-card h1 { font-size: clamp(26px, 5vw, 32px); line-height: 1.2; letter-spacing: -1px; margin: 10px 0 24px; }
.continuar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #cfe3d6; background: #f1f7f3; border-radius: 12px; padding: 16px 18px; transition: border-color .15s; }
.continuar:hover { border-color: #155b43; }
.continuar small, .continuar strong, .continuar em { display: block; }
.continuar small { font-size: 12px; color: var(--muted); }
.continuar strong { font: 700 17px/1.3 Manrope, sans-serif; margin: 3px 0; color: #173e30; }
.continuar em { font-style: normal; font-size: 13px; color: #4f6154; overflow-wrap: anywhere; }
.continuar b { font-size: 22px; color: #155b43; }
.ou { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: 13px; color: var(--muted); }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: #e3e9e4; }
.entrar-form { display: grid; gap: 10px; }
.entrar-form label { font-size: 14px; font-weight: 600; }
.endereco { display: flex; align-items: stretch; border: 1px solid #bdcebf; border-radius: 8px; overflow: hidden; background: #fff; }
.endereco:focus-within { outline: 3px solid #bb7117; outline-offset: 2px; }
.endereco.com-erro { border-color: #a23e29; }
.endereco span { display: flex; align-items: center; padding: 0 4px 0 13px; color: #6c7a73; font-size: 15px; white-space: nowrap; background: #f6f8f6; border-right: 1px solid #e3e9e4; padding-right: 10px; }
.endereco input { flex: 1; min-width: 0; border: 0; padding: 13px 12px; font: inherit; font-size: 16px; outline: none; }
.entrar-form .button { margin-top: 6px; justify-content: center; }
.entrar-ajuda { font-size: 13px; color: var(--muted); margin-top: 18px; }
.entrar-cliente { margin-top: 22px; font-size: 14px; color: #4f6154; text-align: center; }
.entrar-cliente a { color: #155b43; font-weight: 600; }
@media (max-width: 760px) {
  .entrar-topo { display: flex !important; padding-top: 0 !important; min-height: 64px !important; }
  .entrar-main { padding-block: 28px 50px; }
  .entrar-card { padding: 24px 20px; }
  .endereco span { font-size: 13px; padding-left: 10px; }
}
@media (max-width: 360px) { .endereco { flex-direction: column; } .endereco span { padding: 8px 12px; border-right: 0; border-bottom: 1px solid #e3e9e4; } }

/* ---------------- marca do produto (23/09/2026) ----------------
   Mesma família da consultoria dBsolut, papel diferente: símbolo DB dentro do ícone de
   app, selo SOFTWARE e faixa no topo que leva quem procura consultoria ao dbsolut.com. */
.faixa { background: #173f2e; color: #d9e8de; font-size: 13px; }
.faixa-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 36px; padding-block: 6px; flex-wrap: wrap; }
.faixa b { color: #fff; font-weight: 600; }
.faixa a { color: #d9e8de; }
.faixa a b { color: #d6ec9d; }
.faixa a:hover b { text-decoration: underline; }
.brand-app { gap: 11px; align-items: center; }
.brand-app img { width: 38px !important; height: 38px !important; border-radius: 10px; box-shadow: 0 4px 10px #155b4326; flex: none; }
.brand-texto { display: flex; flex-direction: column; line-height: 1.05; }
.brand-nome { font: 750 22px Manrope, sans-serif; letter-spacing: -.8px; color: #1c2c26; }
.brand-nome > span { color: #155b43; }
.brand-selo { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.brand-selo b { font: 700 9.5px DM Sans, sans-serif; letter-spacing: .9px; background: #d6ec9d; color: #173e30; border-radius: 4px; padding: 2px 6px; }
.brand-selo small { font: 500 11.5px DM Sans, sans-serif; color: #5b6b64; letter-spacing: 0; }
.topo .brand-app { align-self: center; }
.footer .brand-app { margin-bottom: 14px; }
.footer .brand-app + p a { color: #155b43; font-weight: 600; }
.product-signature img[src*="app-icone"] { border-radius: 8px; }
@media (max-width: 1100px) { .brand-selo small { display: none; } }
@media (max-width: 760px) {
  .faixa { font-size: 12px; }
  .faixa-inner { justify-content: center; text-align: center; min-height: 0; padding-block: 7px; }
  .faixa-inner > span { display: none; }
  .brand-app img { width: 32px !important; height: 32px !important; border-radius: 8px; }
  .brand-nome { font-size: 19px; }
  .brand-selo { margin-top: 4px; }
  .brand-selo small { display: inline; font-size: 10.5px; }
}
@media (max-width: 360px) { .brand-selo small { display: none; } }
/* cabeçalho com a marca nova: selos técnicos só em tela larga; até 1024 px, duas linhas */
@media (max-width: 1280px) { .linhas a .selo { display: none; } }
@media (max-width: 1024px) {
  .topo-inner:not(.entrar-topo) { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "marca entrar" "linhas linhas"; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .topo .brand { grid-area: marca; }
  .entrar { grid-area: entrar; }
  .linhas { grid-area: linhas; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
  .brand-selo small { display: inline; }
}
/* nome como no logo original: grafite com o "B" verde (a regra antiga .brand>span>span pintava tudo) */
.brand-app .brand-texto > .brand-nome { color: #1c2c26; }
.brand-app .brand-texto > .brand-nome > span { color: #155b43; }
.brand-app .brand-texto > .brand-selo { color: inherit; }

/* rodapé: links dos sete processos (robôs não seguem as abas, que são botões) */
.footer-processos { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); padding: 14px 0 4px; border-top: 1px solid var(--line); margin-top: 0; }
.footer-processos span { font-weight: 600; color: #4f6154; }
.footer-processos a { color: #4f6154; }
.footer-processos a:hover { color: #155b43; }

/* Documentos jurídicos públicos (scripts/site_comercial/juridico.py, 23/09/2026) */
.legal-page { padding-block: 48px 72px; }
.legal-page .back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 24px; }
.legal-head { max-width: 780px; margin-bottom: 36px; }
.legal-head .eyebrow { color: var(--green); margin-bottom: 12px; }
.legal-head h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 14px; }
.legal-head p { color: var(--muted); }
.legal-head .legal-meta { font-size: 14px; margin-top: 10px; }
.legal-corpo { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-indice { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.4; border-left: 2px solid var(--line); padding-left: 14px; }
.legal-indice a { color: var(--muted); }
.legal-indice a:hover { color: var(--green); }
.legal-texto { max-width: 760px; min-width: 0; }
.legal-texto section { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-texto h2 { font-size: 21px; letter-spacing: -.4px; line-height: 1.3; margin-bottom: 12px; }
.legal-texto p { margin-bottom: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.legal-texto .legal-nota { background: var(--surface); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.legal-outros { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.legal-outros .eyebrow { width: 100%; color: var(--muted); }
.legal-outros a { color: var(--green); font-weight: 600; }
.footer-bottom span:first-child { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .legal-corpo { grid-template-columns: 1fr; gap: 24px; }
  .legal-indice { position: static; }
}

/* Barra de ações da contratação sempre visível (pedido do Daniel, 26/09/2026): Voltar e
   Continuar/Enviar pedido ficam fixos no rodapé da janela; só o conteúdo rola. A janela
   (dialog) é quem rola, então a barra gruda no fim dela com sticky, e as margens negativas
   compensam o padding do dialog (30px; 23px 19px no celular). */
dialog .checkout-actions { position: sticky; bottom: -30px; z-index: 2; margin: 25px -30px -30px; padding: 14px 30px; background: #fff; border-top: 1px solid var(--line); }
dialog .checkout-actions.wide { grid-column: 1 / -1; }
@media (max-width: 680px) {
  dialog .checkout-actions { bottom: -23px; margin: 20px -19px -23px; padding: 12px 19px; }
}

/* A janela avisa que rola (Daniel, 26/09/2026): barra de rolagem sempre visível, mesmo no macOS com
   barras automáticas, e sombra na barra fixa sinalizando conteúdo abaixo dela. */
dialog { overflow-y: scroll; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #9fb3a6 #eef2ef; }
dialog::-webkit-scrollbar { width: 11px; }
dialog::-webkit-scrollbar-track { background: #eef2ef; border-radius: 0 14px 14px 0; }
dialog::-webkit-scrollbar-thumb { background: #9fb3a6; border-radius: 8px; border: 2px solid #eef2ef; }
dialog::-webkit-scrollbar-thumb:hover { background: #7f9789; }
dialog .checkout-actions { flex-wrap: wrap; box-shadow: 0 -12px 18px -12px rgba(23, 43, 37, .45); }
dialog .checkout-actions .field-error { flex-basis: 100%; margin: 0; font-size: 13px; font-weight: 600; }
dialog .checkout-actions .field-error:empty { display: none; }
.checkout-form [aria-invalid="true"] { border-color: #a23e29; box-shadow: 0 0 0 3px #a23e2922; }

/* Etapa do código (contratação em uma tela, 26/09/2026) */
.codigo-label { max-width: 320px; }
.codigo-input { font-size: 30px; letter-spacing: 10px; text-align: center; font-weight: 700; font-family: 'Manrope', sans-serif; }
.checkout-note .text-button { font-size: 12px; }
.ativacao-senha { display: grid; gap: 14px; max-width: 420px; margin-top: 18px; }
.ativacao-senha input { display: block; width: 100%; border: 1px solid #bdcebf; padding: 11px 13px; border-radius: 5px; margin-top: 7px; font: inherit; }
.ativacao-espera { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 16px 0; }
.ativacao-espera .pulsa { width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: pulsa 1.2s ease-in-out infinite; }
@keyframes pulsa { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- Demonstrações por negócio (27/09/2026): diálogo "Ver demonstrações" e seção "Veja o app no seu negócio" ---------- */
.demo-screen .demo-lista { list-style: none; padding: 0; margin: 14px 0 0; }
.demo-screen .demo-lista li { font-size: 14px; padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; }
.demo-screen .demo-lista li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.demo-fluxo { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 16px 0 0; font-size: 12.5px; }
.demo-no { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.demo-seta { color: var(--muted); }
.demo-acoes { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 20px; }
.demo-acoes .button { font-size: 13px; }
.demo-em-breve { font-size: 12px; color: var(--muted); margin-top: 12px; }
.demo-bottom .demo-nota { font-size: 12px; color: var(--muted); align-self: center; }
.demo-steps button[data-demo-item] { cursor: pointer; }
.scenario-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 18px; }
.scenario-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.secoes nav .entrar-demo { color: var(--linha); font-weight: 650; }
@media (max-width: 720px) {
  .demo-bottom .demo-nota { text-align: center; }
}

/* seletor de demonstrações: o botão de plano fica preso ao rodapé do diálogo, visível em qualquer rolagem (27/09/2026) */
.demo-dialog .demo-bottom { position: sticky; bottom: -30px; z-index: 2; margin: 23px -30px -30px; padding: 14px 30px;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 18px -12px rgba(23, 43, 37, .45); }
@media (max-width: 640px) {
  .demo-dialog .demo-bottom { bottom: -23px; margin: 20px -19px -23px; padding: 12px 19px; }
}

/* ---------- hero com telas reais (27/09/2026): painel na moldura, cronograma e horas sobrepostos ---------- */
.hero-real { position: relative; }
.hero-real .browser-shell { position: relative; z-index: 1; }
.hero-tela { position: relative; background: #f4f7f5; }
.hero-tela img { display: block; width: 100%; height: auto; }
.hero-tela .hero-cta { position: absolute; left: 16px; right: 16px; bottom: 14px; width: auto; border-radius: 9px;
  box-shadow: 0 14px 30px #10251a59; }
.hero-flut { position: absolute; z-index: 2; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 22px 48px #10251a33; }
.hero-flut img { display: block; width: 100%; height: auto; }
.hero-flut figcaption { font-size: 11px; color: var(--muted); padding: 7px 10px; border-top: 1px solid var(--line); background: #fff; }
.hero-flut-cron { width: 46%; left: -6%; bottom: 78px; transform: rotate(-2.5deg); }
.hero-flut-kpi { width: 42%; right: -4%; top: 9%; transform: rotate(2deg); }
@media (max-width: 1023.98px) {
  .hero-real { padding-bottom: 8px; }
  .hero-flut-cron { left: 0; width: 42%; bottom: 70px; }
  .hero-flut-kpi { right: 0; width: 36%; top: 18%; }
}
@media (max-width: 600px) {
  .hero-flut { display: none; }
  .hero-tela .hero-cta { position: static; margin: 10px; width: calc(100% - 20px); }
}

/* processos ligados à demonstração (27/09/2026) */
.process-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; }
.proc-telas { padding: 10px 0 60px; }
.proc-telas .section-heading { margin: 0 0 22px; max-width: 760px; }
.proc-grid { display: grid; gap: 18px; }
.proc-grid-2 { grid-template-columns: 1.15fr 1fr; align-items: start; }
.proc-shot { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px #152b1814; }
.proc-shot a { display: block; cursor: zoom-in; }
.proc-shot img { display: block; width: 100%; height: auto; }
.proc-shot figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); background: #f8faf8; }
.proc-telas .hero-actions { margin-top: 26px; }
.money-shot { margin: 12px 0 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.money-shot img { display: block; width: 100%; height: auto; }
.money-txt { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
@media (max-width: 900px) { .proc-grid-2 { grid-template-columns: 1fr; } }

/* páginas de processo: abas por exemplo (27/09/2026) */
.proc-abas { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 14px; scrollbar-width: thin; }
.proc-abas button { flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; text-align: left;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; font: inherit; cursor: pointer; min-width: 200px; }
.proc-abas button b { grid-row: 1 / 3; font: 700 12px Manrope, sans-serif; color: var(--green); }
.proc-abas button span { font-size: 14px; font-weight: 650; color: var(--ink); }
.proc-abas button small { font-size: 12px; color: var(--muted); }
.proc-abas button:hover { border-color: var(--green); }
.proc-abas button[aria-selected="true"] { background: #e2efda; border-color: #cfe3c3; }
.proc-empresa { font-size: 14px; color: var(--muted); margin: 0 0 14px; max-width: 900px; }
.proc-empresa b { color: var(--ink); }
.proc-telas .scenario-note { margin-top: 26px; }

/* vídeo de demonstração (28/09/2026) */
.link-video { font-weight: 650; white-space: nowrap; }
.video-dialog { width: min(1100px, calc(100% - 32px)); padding: 18px 20px 20px; background: #0b1a14; color: #fff; border-color: #0b1a14; }
.video-dialog .eyebrow { color: #9fd3b4; }
.video-dialog .close { background: #fff; }
.video-quadro { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.video-quadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
