/* LP "Bitrix24, pela Crivo" (nov/2026). Usa lp-activecampaign.css como base.
   As cenas mostram telas reais do Bitrix24, tiradas da Central de Ajuda oficial (public/assets/img/bitrix24/), sem animação. */
#ac-lp#ac-lp {

  /* tela real: a imagem preenche o palco e abre ampliada ao clicar (lp-bitrix24.js) */
  .b24-tela { margin: 0; padding: 10px;
    a { display: block; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
    img { display: block; width: 100%; height: auto; } }

  /* tela ampliada: <dialog> sobre a página, com o resto translúcido */
  .b24-zoom { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible;
    &::backdrop { background: rgba(13,10,26,.62); backdrop-filter: blur(4px); }
    &[open] { animation: b24-zoom .2s ease-out; } }
  .b24-zoom__caixa { position: relative; display: grid; gap: 10px; justify-items: center; }
  .b24-zoom img { display: block; width: auto; height: auto; max-width: min(1600px, 94vw); max-height: 84vh; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  .b24-zoom__legenda { margin: 0; font-size: 14px; color: #fff; text-align: center; }
  .b24-zoom__fechar { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer;
    svg { width: 18px; height: 18px; fill: none; stroke: var(--tinta); stroke-width: 2.4; stroke-linecap: round; }
    &:hover { background: var(--limao); }
    &:focus-visible { outline: 3px solid var(--limao); outline-offset: 2px; } }

  .b24-hero .b24-tela { padding: 12px; }

  /* seção da Crivo: serviços com check (não é sequência) e o botão para falar com um especialista */
  .ac-crivo .n svg { width: 18px; height: 18px; fill: none; stroke: var(--limao-txt); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .ac-crivo .ac-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

  /* o resto da plataforma, em lista curta */
  .b24-mais { padding: 72px 0 24px;
    h2 { font-size: clamp(30px, 3.3vw, 46px); margin: 0 0 18px; } .ac-lead { font-size: 18px; max-width: 640px; } }
  .b24-mais__itens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px;
    li { display: grid; gap: 6px; align-content: start; padding: 22px 24px; border: 1px solid var(--borda); border-radius: 14px; background: var(--fundo-2); }
    b { font-family: var(--display); font-size: 18px; color: var(--tinta); } span { font-size: 15px; line-height: 1.5; } }

  .b24-vantagens { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }

  @media (max-width: 1024px) {
    .b24-mais__itens, .b24-vantagens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .b24-mais__itens, .b24-vantagens { grid-template-columns: minmax(0, 1fr); }
    .b24-mais { padding-top: 48px; }
    .b24-tela { padding: 6px; }
    .b24-zoom__fechar { top: -50px; right: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .b24-zoom[open] { animation: none; } }
}
html:has(.b24-zoom[open]) { overflow: hidden; } /* a página não rola por trás */
@keyframes b24-zoom { from { opacity: 0; transform: scale(.97); } }
