/* =====================================================================
   Styles/solucoes.css - complementos do eg.css para as páginas existentes
   (Soluções, Ferramentas, Calculadora, Contratar, Orçamento e Pedido).
   Só o que o design system não tem. Usa os tokens --eg-* do eg.css.
   Carregue DEPOIS do eg.css: <link rel="stylesheet" href="/Styles/solucoes.css?v=AAAAMMDD" />

   ÍNDICE
   01 HERO DE SOLUÇÃO .. .eg-sol-for (rótulo) .eg-chips--on-dark .eg-sol-price
   02 CENA WHATSAPP .... .eg-sol-chat __top __new  .eg-sol-bubble
   03 TELAS DO APP ..... .eg-sol-tour __phone __list __item (celular + lista que troca a tela; carrossel do eg.js)
   04 CÓDIGO (API) ..... .eg-sol-code __top __method .k (chave) .v (valor)
   05 LISTA C/ ÍCONE ... .eg-sol-features (li > .eg-icon-badge + div)
   06 FERRAMENTAS ...... .eg-tool-soon (card "em breve")
   07 CALCULADORA ...... .eg-calc __result __disclaimer __limit  .eg-formula  (.eg-blog-card fica no eg.css §10)
   08 PÁGINAS EMBUTIDAS  .eg-embed (Contratar / Orçamento / Pedido)  .eg-status
   09 SITE DO HARAS .... .eg-sol-sites (grade de sites de clientes) .eg-sol-foot
   10 INTEGRAÇÃO ERP ... .eg-erp-map (diagrama do hero)  .eg-sync-ex (exemplos)
   ===================================================================== */


/* 01 HERO DE SOLUÇÃO ------------------------------------------------- */
.eg-sol-for { margin: 28px 0 10px; font-size: var(--eg-fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.eg-chips--on-dark { justify-content: flex-start; margin: 0; max-width: none; }
.eg-chips--on-dark li { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; }
.eg-page-hero .eg-btn-group { margin-top: 32px; }
.eg-sol-price { font-size: var(--eg-fs-sm); color: rgba(255,255,255,.8); }
@media (max-width: 575.98px) { .eg-sol-price { width: 100%; text-align: center; } }

/* impede a coluna flex de crescer até a largura do <pre> no celular */
.eg-page-hero [class*="col-"] { min-width: 0; }


/* 02 CENA WHATSAPP ---------------------------------------------------- */
.eg-sol-chat { background: #efeae2 url("/Images/Textura/chat-doodle.svg") 0 0 / 136px 136px repeat; border-radius: var(--eg-radius-xl); padding: 0 16px 20px; max-width: 460px; margin-inline: auto; box-shadow: var(--eg-shadow-md); overflow: hidden; } /* fundo de conversa: bege + padrão de desenhos próprio (Images/Textura/chat-doodle.svg) */
.eg-sol-chat__top { display: flex; align-items: center; gap: 8px; margin: 0 -16px 16px; padding: 14px 18px; background: #f0f2f5; border-bottom: 1px solid #e1ddd5; font-size: var(--eg-fs-xs); font-weight: 600; color: var(--eg-ink-900); }
.eg-sol-chat__top .eg-ico { color: var(--eg-whatsapp); width: 1.35em; height: 1.35em; }
.eg-sol-chat__new { margin-left: auto; font-size: 12px; font-weight: 700; color: #fff; background: var(--eg-whatsapp); border-radius: var(--eg-radius-pill); padding: 1px 9px; }
.eg-sol-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: 8px 14px 6px; margin-bottom: 10px; max-width: 88%; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.eg-sol-bubble strong { display: block; font-size: 12px; color: var(--eg-primary); }
.eg-sol-bubble p { margin: 2px 0 0; font-size: .9375rem; color: var(--eg-ink-900); line-height: 1.45; }
.eg-sol-bubble small { display: block; text-align: right; font-size: 11px; color: var(--eg-ink-400); }


/* 03 TELAS DO APP ----------------------------------------------------- */
/* <div class="eg-carousel eg-sol-tour" data-eg-carousel> celular (.eg-sol-tour__phone) + lista de botões [data-eg-slide] */
.eg-sol-tour { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; max-width: 1000px; margin-inline: auto; }
.eg-sol-tour__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.eg-sol-tour__item {
  display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 18px 20px; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--eg-radius-lg); color: inherit;
  transition: background var(--eg-dur-fast), border-color var(--eg-dur-fast), box-shadow var(--eg-dur-fast);
}
.eg-sol-tour__item:hover { background: var(--eg-bg-alt); }
.eg-sol-tour__item:focus { outline: none; }
.eg-sol-tour__item:focus-visible { box-shadow: var(--eg-focus-ring); }
.eg-sol-tour__item[aria-current="true"] { background: #fff; border-color: var(--eg-line); box-shadow: var(--eg-shadow-md); }
.eg-sol-tour__item .eg-card__icon { flex: none; margin: 0; }
.eg-sol-tour__item strong { display: block; font: 700 1.0625rem/1.3 var(--eg-font-heading); color: var(--eg-ink-900); margin-bottom: 4px; }
.eg-sol-tour__item[aria-current="true"] strong { color: var(--eg-primary); }
.eg-sol-tour__item span span { display: block; font-size: var(--eg-fs-sm); color: var(--eg-ink-500); }
@media (max-width: 767.98px) { .eg-sol-tour { grid-template-columns: 1fr; gap: 28px; } }

/* 04 CÓDIGO (API) ----------------------------------------------------- */
.eg-sol-code {
  margin: 40px 0 0; background: var(--eg-bg-darker); color: #d6e4f5; border-radius: var(--eg-radius-lg);
  padding: 22px 24px 20px; font: 13px/1.6 Consolas, "SFMono-Regular", "Courier New", monospace;
  box-shadow: 0 30px 60px -25px rgba(3,18,40,.75); border: 1px solid rgba(255,255,255,.12); overflow-x: auto;
}
@media (min-width: 992px) { .eg-sol-code { margin-top: 0; } }
.eg-sol-code pre { color: inherit; margin: 0; white-space: pre; font: inherit; }
.eg-sol-code__top { font-size: 12px; color: #8fb3dd; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
.eg-sol-code__method { color: #47bbff; font-weight: 700; margin-right: 6px; }
.eg-sol-code .k { color: #9fd3ff; }
.eg-sol-code .v { color: #ffd38a; }


/* 05 LISTA COM ÍCONE -------------------------------------------------- */
.eg-sol-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.eg-sol-features li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); box-shadow: var(--eg-shadow-xs); font-size: var(--eg-fs-sm); line-height: 1.55; }
.eg-sol-features strong { display: block; color: var(--eg-ink-900); font-size: 1rem; margin-bottom: 2px; }
.eg-card ul.eg-checklist { margin-top: 4px; }


/* 06 FERRAMENTAS ------------------------------------------------------ */
.eg-tool-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 240px; padding: 28px; border: 2px dashed var(--eg-line-strong); border-radius: var(--eg-radius-lg); color: var(--eg-ink-500); background: var(--eg-bg-alt); }
.eg-tool-soon i { font-size: 1.75rem; color: var(--eg-ink-400); }
.eg-tool-soon strong { color: var(--eg-ink-700); font-family: var(--eg-font-heading); font-size: var(--eg-fs-h4); }


/* 07 CALCULADORA ------------------------------------------------------ */
.eg-calc { color: var(--eg-ink-700); margin-top: 40px; }
@media (min-width: 992px) { .eg-calc { margin-top: 0; } }
.eg-calc .eg-form-card__title { color: var(--eg-ink-900) !important; }
.eg-calc__result { display: block; margin-top: 18px; padding: 16px 18px; border-radius: var(--eg-radius-md); background: var(--eg-primary-soft); border: 1px solid var(--eg-blue-100); color: var(--eg-blue-800); font: 700 1.375rem/1.3 var(--eg-font-heading); text-align: center; }
.eg-calc__result:empty { display: none; }
.eg-calc__disclaimer { margin: 16px 0 0; font-size: var(--eg-fs-xs); color: var(--eg-ink-500); line-height: 1.5; }
.eg-calc__limit { text-align: center; }
.eg-calc__limit .eg-btn-group { justify-content: center; margin-top: 20px; }
.eg-calc__limit-title { font: 700 var(--eg-fs-h3)/1.3 var(--eg-font-heading); color: var(--eg-ink-900); margin: 0 0 8px; }
.eg-calc__limit-icon { width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 16px; background: var(--eg-primary-soft); color: var(--eg-primary); font-size: 1.5rem; }

.eg-formula { margin: 20px 0; padding: 18px 22px; border-radius: var(--eg-radius-lg); background: var(--eg-bg-alt); border: 1px solid var(--eg-line); font: 600 1.0625rem/1.5 var(--eg-font-body); color: var(--eg-ink-900); }
.eg-formula small { display: block; margin-top: 4px; font-weight: 400; font-size: var(--eg-fs-sm); color: var(--eg-ink-500); }



/* 08 PÁGINAS EMBUTIDAS (abertas dentro do sistema) -------------------- */
.eg-embed { padding-block: clamp(28px, 4vw, 56px); }
.eg-embed__head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.eg-embed__head h1 { font-size: var(--eg-fs-h2); line-height: var(--eg-lh-snug); margin: 0 0 12px; }
.eg-embed__head p { color: var(--eg-ink-500); margin: 0 0 8px; }
.eg-embed__cards { display: block; margin: 16px auto 0; }
.eg-embed .eg-plan { padding: 30px 28px; }
.eg-embed .eg-plan:hover { transform: none; }
.eg-embed .eg-plan .eg-btn { width: 100%; }
.eg-embed .eg-plan__price--text { font-size: 2rem; }

.eg-status { max-width: 640px; margin: 0 auto; text-align: center; }
.eg-status__icon { display: block; width: 88px; height: 88px; margin: 0 auto 24px; }
.eg-status h1 { font-size: var(--eg-fs-h2); line-height: var(--eg-lh-snug); margin: 0 0 12px; }
.eg-status p { color: var(--eg-ink-500); font-size: var(--eg-fs-lead); }
.eg-status .eg-btn { margin-top: 20px; }


/* 09 SITE DO HARAS ---------------------------------------------------- */
.eg-sol-sites { list-style: none; margin: 0; padding: 0; }
.eg-sol-sites a { display: block; text-decoration: none; color: inherit; }
.eg-sol-sites .eg-shot--browser { box-shadow: var(--eg-shadow-md); transition: transform var(--eg-dur) var(--eg-ease), box-shadow var(--eg-dur); }
.eg-sol-sites .eg-shot__bar { height: 26px; padding: 0 10px; gap: 5px; }
.eg-sol-sites .eg-shot__bar > i { width: 8px; height: 8px; }
.eg-sol-sites .eg-shot__url { height: 18px; line-height: 16px; font-size: 10px; max-width: 200px; margin-left: 8px; }
.eg-sol-sites a:hover .eg-shot--browser, .eg-sol-sites a:focus .eg-shot--browser { transform: translateY(-4px); box-shadow: var(--eg-shadow-lg); }
.eg-sol-sites .eg-shot__caption { font-weight: 600; color: var(--eg-ink-700); font-size: var(--eg-fs-sm); }
.eg-sol-sites a:hover .eg-shot__caption { color: var(--eg-primary); }
.eg-sol-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; align-items: center; margin-top: var(--eg-space-7); text-align: center; }


/* 10 INTEGRAÇÃO COM ERP ----------------------------------------------- */
/* Diagrama "EquinoGestor <-> seu ERP" (sobre o hero azul): duas janelas com os registros em linhas alinhadas
   e, entre elas, uma ligação por linha. A seta mostra o sentido e o pontinho corre nesse sentido (--i escalona). */
.eg-erp-map { --row: 42px; max-width: 520px; margin: 32px auto 0; padding: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--eg-radius-xl); }
.eg-erp-map__grid { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: end; }
.eg-erp-map__app { background: #fff; border-radius: var(--eg-radius-lg); box-shadow: var(--eg-shadow-lg); overflow: hidden; }
.eg-erp-map__bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; background: var(--eg-bg-alt); border-bottom: 1px solid var(--eg-line); font: 700 var(--eg-fs-sm)/1.2 var(--eg-font-heading); color: var(--eg-ink-900); white-space: nowrap; }
.eg-erp-map__bar .bi { color: var(--eg-ink-500); }
.eg-erp-map__app--eg .eg-erp-map__bar { background: var(--eg-primary); border-color: var(--eg-primary); color: #fff; }
.eg-erp-map__app--eg .eg-erp-map__bar .bi { color: #9fd3ff; }
.eg-erp-map__app ul, .eg-erp-map__links { list-style: none; margin: 0; padding: 6px 0; }
.eg-erp-map__app li { display: flex; align-items: center; height: var(--row); padding: 0 14px; font-size: var(--eg-fs-xs); font-weight: 600; color: var(--eg-ink-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eg-erp-map__app li + li { border-top: 1px solid var(--eg-line); }
.eg-erp-map__app--eg li { justify-content: flex-end; }
.eg-erp-map__link { position: relative; display: grid; place-items: center; height: var(--row); }
.eg-erp-map__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.28); }
.eg-erp-map__link::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: #9fd3ff; box-shadow: 0 0 8px 2px rgba(159,211,255,.7); opacity: 0;
  animation: eg-erp-run 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .45s);
}
.eg-erp-map__link--in::after { animation-name: eg-erp-run-in; }
/* Última linha ("Outros dados"): texto em itálico e o pontinho vai e volta */
.eg-erp-map__app li.eg-erp-map__more { font-style: italic; font-weight: 500; color: var(--eg-ink-500); border-top-style: dashed; }
.eg-erp-map__link--both::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 5px, transparent 5px 9px); }
.eg-erp-map__link--both::after { animation-direction: alternate; }
@keyframes eg-erp-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 70% { left: calc(100% - 6px); opacity: 1; } 80%, 100% { left: calc(100% - 6px); opacity: 0; } }
@keyframes eg-erp-run-in { 0% { left: calc(100% - 6px); opacity: 0; } 15% { opacity: 1; } 70% { left: 0; opacity: 1; } 80%, 100% { left: 0; opacity: 0; } }
.eg-erp-map__link .bi { position: relative; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--eg-primary); font-size: .75rem; box-shadow: 0 2px 6px rgba(3,18,40,.3); }
.eg-erp-map__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: var(--eg-fs-xs); color: rgba(255,255,255,.82); text-align: center; }
.eg-erp-map__foot .bi { color: #9fd3ff; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .eg-erp-map__link::after { display: none; } }
@media (max-width: 575.98px) {
  .eg-erp-map { --row: 38px; padding: 14px; }
  .eg-erp-map__grid { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
  .eg-erp-map__bar { padding: 9px 10px; font-size: var(--eg-fs-xs); }
  .eg-erp-map__app li { padding: 0 10px; }
}
/* Exemplos de sincronização (Integracao_ERP.aspx): tabela em linhas, origem > destino | quando | resultado.
   Abaixo de 768px cada linha vira um bloco empilhado e o cabeçalho some. */
.eg-sync-ex { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; background: #fff; border: 1px solid var(--eg-line); border-radius: var(--eg-radius-lg); box-shadow: var(--eg-shadow-xs); overflow: hidden; }
.eg-sync-ex__head, .eg-sync-ex__row { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 28px; align-items: center; padding: 16px 24px; }
.eg-sync-ex__head { padding-block: 12px; background: var(--eg-bg-alt); border-bottom: 1px solid var(--eg-line); font-size: var(--eg-fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--eg-ink-500); }
.eg-sync-ex__row + .eg-sync-ex__row { border-top: 1px solid var(--eg-line); }
.eg-sync-ex__route { display: flex; align-items: center; gap: 8px; }
.eg-sync-ex__route .bi { flex: none; color: var(--eg-ink-400); }
.eg-sync-ex__sys { display: inline-block; padding: 4px 10px; border-radius: var(--eg-radius-pill); background: var(--eg-bg-alt); border: 1px solid var(--eg-line); font-size: var(--eg-fs-xs); font-weight: 700; color: var(--eg-ink-700); white-space: nowrap; }
.eg-sync-ex__sys--eg { background: var(--eg-primary-soft); border-color: var(--eg-blue-100); color: var(--eg-primary); }
.eg-sync-ex__event { font: 700 1rem/1.4 var(--eg-font-heading); color: var(--eg-ink-900); }
.eg-sync-ex__result { font-size: var(--eg-fs-sm); line-height: 1.5; color: var(--eg-ink-500); }
.eg-sync-ex__row--more { background: var(--eg-primary-soft); }
.eg-sync-ex__row + .eg-sync-ex__row--more { border-top: 1px dashed var(--eg-blue-200); }
.eg-sync-ex__row--more .eg-sync-ex__event { color: var(--eg-primary); }
.eg-sync-ex__row--more .eg-link-arrow { margin-left: 4px; white-space: nowrap; }
@media (max-width: 991.98px) { .eg-sync-ex__head, .eg-sync-ex__row { grid-template-columns: 230px minmax(0, 1fr); } .eg-sync-ex__head span:last-child { display: none; } .eg-sync-ex__result { grid-column: 2; } }
@media (max-width: 767.98px) {
  .eg-sync-ex__head { display: none; }
  .eg-sync-ex__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px; }
  .eg-sync-ex__result { grid-column: auto; }
  .eg-sync-ex__route { margin-bottom: 4px; }
}
