/* ======================= ERP (complementa erp.css, que é a base do site do CRM) ======================= */
.hero__photo--erp img { object-position: 40% 50%; }
.dashcard { position: absolute; left: -36px; bottom: -28px; width: min(340px, 80%); z-index: 3; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 24, 69, .06), 0 30px 60px -24px rgba(15, 24, 69, .45); font-size: 13px; }
.dashcard__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #eceef6; }
.dashcard__head b { font-weight: 600; letter-spacing: -0.01em; }
.dashcard__head span { font-size: 11px; font-weight: 600; color: #15803d; background: #e6f6ec; padding: 3px 8px; border-radius: 99px; }
.dashcard__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; background: #f6f7fb; }
.dashcard__kpis div { background: #fff; border-radius: 12px; padding: 10px 12px; display: grid; }
.dashcard__kpis small { font-size: 10.5px; color: #6b7491; text-transform: uppercase; letter-spacing: .03em; }
.dashcard__kpis b { font-size: 18px; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; }
.dashcard__pay { display: grid; gap: 6px; padding: 4px 14px 14px; background: #f6f7fb; }
.dashcard__pay div { display: grid; grid-template-columns: 70px 1fr 74px; align-items: center; gap: 8px; font-size: 11.5px; color: #4a5370; }
.dashcard__pay i { height: 7px; border-radius: 4px; background: var(--c); width: var(--w); transform-origin: left; animation: barIn 1.2s .6s var(--ease) both; }
@keyframes barIn { from { transform: scaleX(0); } }
.dashcard__pay b { text-align: right; color: var(--text); font-weight: 600; }

/* Abas por segmento */
.segs__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); width: fit-content; margin-bottom: 48px; }
.segs__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.segs__tab:hover { color: var(--text); }
.segs__tab[aria-selected='true'] { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(55, 58, 255, .9); }
.segs__tab svg { width: 18px; height: 18px; flex: none; }
.seg { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.seg[hidden] { display: none; }
.seg.is-in .feat__copy, .seg.is-in .viz { animation: segIn .6s var(--ease) both; }
.seg.is-in .viz { animation-delay: .08s; }
@keyframes segIn { from { opacity: 0; transform: translateY(12px); } }
.seg .feat__copy h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -0.05em; }

/* mock PDV */
.pdv { display: grid; grid-template-columns: 1fr 190px; gap: 10px; width: 100%; color: var(--text); font-size: 12px; }
.pdv__list { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.pdv__h { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 10.5px; font-weight: 600; color: #6b7491; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #eef0f6; }
.pdv__row { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #f1f3f8; }
.pdv__row i { font-style: normal; color: #6b7491; }
.pdv__row b { font-weight: 600; }
.pdv__row small { display: block; color: #8a93ad; font-size: 10.5px; }
.pdv__row.is-new { animation: rowIn 3.5s var(--ease) infinite; }
@keyframes rowIn { 0%, 15% { opacity: 0; transform: translateX(-8px); background: #f3f4ff; } 30%, 80% { opacity: 1; transform: none; background: #f3f4ff; } 100% { opacity: 1; background: #fff; } }
.pdv__total { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--ink); color: #fff; }
.pdv__total span { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.pdv__total b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.pdv__side { display: grid; gap: 10px; align-content: start; }
.pdv__box { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 6px; }
.pdv__box small { font-size: 10px; font-weight: 600; color: #6b7491; letter-spacing: .06em; text-transform: uppercase; }
.pdv__scan { border: 1.5px solid #16a34a; border-radius: 9px; padding: 8px; color: #8a93ad; font-size: 11px; }
.pdv__line { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #4a5370; }
.pdv__line b { color: var(--text); white-space: nowrap; }
.pdv__fin { background: #16a34a; color: #fff; border-radius: 10px; padding: 10px; text-align: center; font-weight: 600; }

/* mock cozinha */
.kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; font-size: 12px; }
.kds__col { background: #111827; border-radius: 14px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 300px; border-top: 3px solid var(--c); }
.kds__col h5 { margin: 0 0 2px; display: flex; justify-content: space-between; color: #fff; font-size: 12px; font-weight: 600; }
.kds__col h5 span { background: var(--c); color: #111827; border-radius: 99px; padding: 0 7px; font-size: 11px; }
.kds__card { background: #1f2937; border-radius: 10px; padding: 9px; color: #e5e7eb; display: grid; gap: 4px; }
.kds__card b { color: #fff; font-size: 13px; }
.kds__card b small { font-size: 10.5px; color: #9ca3af; font-weight: 500; margin-left: 4px; }
.kds__card span { font-size: 11.5px; }
.kds__card em { font-style: normal; font-size: 10.5px; color: #f59e0b; }
.kds__card .ok { color: #22c55e; font-weight: 600; font-size: 11px; }
.kds__card.move { animation: kdsNew 3s ease-in-out infinite; }
@keyframes kdsNew { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } 50% { box-shadow: 0 0 0 3px rgba(245, 158, 11, .55); } }

/* mock eventos */
.evt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; align-items: center; }
.evt__term { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1.05; }
.evt__term img { width: 100%; height: 100%; object-fit: cover; }
.evt__side { display: grid; gap: 10px; }
.evt__tk { background: #fff; color: var(--text); border-radius: 14px; overflow: hidden; display: grid; }
.evt__tk-top { padding: 12px 14px; display: grid; gap: 2px; background: linear-gradient(135deg, #5b5eff, var(--blue-deep)); color: #fff; }
.evt__tk-top small { font-size: 10.5px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.evt__tk-top b { font-size: 15px; font-weight: 600; }
.evt__tk-bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-size: 12px; }
.evt__tk-bot code { font-size: 11px; color: #6b7491; }
.evt__ok { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; }
.evt__ok i { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; animation: pop 2.4s ease-in-out infinite; }
.evt__ok b { display: block; font-weight: 600; }
.evt__ok small { color: #6b7491; font-size: 11px; }
.evt__ok--no i { background: var(--red); animation: none; }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* mock campo */
.field { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; width: 100%; font-size: 12px; color: var(--text); }
.field__map { position: relative; border-radius: 14px; overflow: hidden; background: #e7ecef; min-height: 300px; }
.field__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.field__road { fill: none; stroke: #fff; stroke-width: 7; }
.field__road--s { stroke-width: 3.5; }
.field__park { fill: #cfe8d2; }
.field__route { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
.field__pin { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.field__me { background: var(--blue); box-shadow: 0 0 0 6px rgba(55,58,255,.22); animation: meMove 8s ease-in-out infinite; }
@keyframes meMove { 0%, 8% { left: 14%; top: 80%; } 40%, 48% { left: 45%; top: 55%; } 80%, 88% { left: 76%; top: 30%; } 100% { left: 14%; top: 80%; } }
.field__list { background: #fff; border-radius: 14px; overflow: hidden; }
.field__list h5 { margin: 0; padding: 10px 14px; font-size: 12px; font-weight: 600; border-bottom: 1px solid #eef0f6; display: flex; justify-content: space-between; }
.field__list h5 span { color: #6b7491; font-weight: 500; }
.field__list div { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 9px 14px; border-bottom: 1px solid #f1f3f8; }
.field__list b { font-weight: 600; }
.field__list small { display: block; color: #8a93ad; font-size: 10.5px; }
.stt { font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 5px; align-self: center; white-space: nowrap; }
.stt--ok { background: #dcfce7; color: #15803d; } .stt--go { background: #fff1db; color: #8a4b00; } .stt--wait { background: #f1f5f9; color: #64748b; }

/* base: caixa e financeiro */
.cashbox { display: grid; gap: 10px; width: 100%; color: var(--text); font-size: 12px; }
.cashbox__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cashbox__kpis div { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.cashbox__kpis small { font-size: 10.5px; color: #6b7491; text-transform: uppercase; letter-spacing: .03em; }
.cashbox__kpis b { font-size: 18px; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; }
.cashbox__table { background: #fff; border-radius: 14px; overflow: hidden; }
.cashbox__table div { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #f1f3f8; }
.cashbox__table div:first-child { border-top: 0; background: #f6f7fc; font-weight: 600; color: #4a5370; font-size: 11px; }
.cashbox__table b { font-weight: 600; }
.cashbox__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cashbox__acts span { padding: 8px 14px; border-radius: 10px; background: #fff; font-weight: 600; font-size: 11.5px; }
.cashbox__acts .fecha { margin-left: auto; background: var(--ink); color: #fff; }

/* Maquininhas (escuro) */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.terms__img { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; }
.terms__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.terms__badge { position: absolute; right: 18px; bottom: 18px; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 16px; display: grid; gap: 4px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.terms__badge b { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.05em; color: var(--blue); line-height: 1; }
.terms__badge span { font-size: .8rem; color: var(--muted); }
.terms__copy { display: grid; gap: 18px; justify-items: start; align-content: center; padding: clamp(8px, 2vw, 24px) 0; }
.terms__copy h2 { font-size: var(--fs-h2); letter-spacing: -0.05em; }
.terms__copy > p { color: var(--muted-dark); font-size: 1.08rem; }
.terms .checks li { color: #d6dcf5; }
.terms .checks li::before { background-color: rgba(138, 165, 255, .16); }
.terms__note { font-size: .9rem; color: var(--muted-dark); }

/* Todos os recursos agrupados */
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.group { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.group:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(15, 24, 69, .35); }
.group h3 { font-size: 1.15rem; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.group h3 i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-style: normal; flex: none; }
.group h3 i svg { width: 18px; height: 18px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.group li { display: grid; gap: 1px; font-size: .95rem; }
.group li b { font-weight: 500; }
.group li span { font-size: .85rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 1080px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .seg, .terms { grid-template-columns: 1fr; }
  .dashcard { left: 12px; right: 12px; width: auto; bottom: -40px; }
  .segs__tabs { border-radius: 22px; width: 100%; }
  .segs__tab { flex: 1 1 calc(50% - 6px); justify-content: center; }
}
@media (max-width: 720px) {
  .pdv { grid-template-columns: 1fr; }
  .pdv__side { grid-template-columns: 1fr 1fr; }
  .pdv__side .pdv__fin { grid-column: 1 / -1; }
  .kds { grid-template-columns: 1fr 1fr; }
  .kds__col:nth-child(1) { display: none; }
  .kds__card.move { animation: none; }
  .field { grid-template-columns: 1fr; }
  .field__map { min-height: 220px; }
  .evt { grid-template-columns: 1fr; }
  .evt__term { aspect-ratio: 4 / 3; }
  .cashbox__kpis { grid-template-columns: 1fr 1fr; }
  .cashbox__kpis div:nth-child(3) { grid-column: span 2; }
  .groups { grid-template-columns: 1fr; }
  .segs__tab { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .field__me { left: 45%; top: 55%; } }

/* Topo: palco animado do sistema */
.hstage { position: relative; border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 80% at 50% 0%, #6b6eff, transparent 65%), linear-gradient(160deg, #4447ff, #2328c9); box-shadow: 0 40px 80px -50px rgba(35, 40, 201, .7); }
.hstage__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(80% 80% at 50% 30%, #000 20%, transparent 80%); }
.erpwin { background: #fff; color: var(--text); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(5, 6, 15, .7); font-size: 12px; }
.erpwin__bar { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; background: #f1f3f9; border-bottom: 1px solid #e6e9f2; }
.erpwin__dots { display: flex; gap: 5px; } .erpwin__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3d7e3; }
.erpwin__dots i:first-child { background: #ff6159; } .erpwin__dots i:nth-child(2) { background: #ffbd2e; } .erpwin__dots i:nth-child(3) { background: #28c941; }
.erpwin__url { flex: 1; text-align: center; font-size: 11px; color: #6b7491; }
.erpwin__live { font-size: 10.5px; font-weight: 600; color: #15803d; background: #e6f6ec; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.erpwin__body { display: grid; grid-template-columns: 44px 1fr; }
.erpwin__side { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 12px 0; background: var(--blue); }
.erpwin__side i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.35); }
.erpwin__side i.on { background: #fff; }
.erpwin__main { padding: 12px; display: grid; gap: 10px; background: #f6f7fb; }
.erpwin__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.erpwin__kpis div { background: #fff; border-radius: 10px; padding: 9px 10px; display: grid; gap: 1px; }
.erpwin__kpis small { font-size: 9.5px; color: #6b7491; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.erpwin__kpis b { font-size: 16px; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.erpwin__chart { background: #fff; border-radius: 10px; padding: 8px 10px; }
.erpwin__chart svg { width: 100%; height: 56px; display: block; }
.erpwin__area { fill: rgba(55, 58, 255, .14); }
.erpwin__line { fill: none; stroke: var(--blue); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s .3s var(--ease) forwards; }
.erpwin__feed { background: #fff; border-radius: 10px; padding: 8px 10px 4px; }
.erpwin__ft { font-size: 10.5px; font-weight: 600; color: #6b7491; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.erpwin__feed ul { list-style: none; margin: 0; padding: 0; min-height: 108px; }
.erpwin__feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid #f1f3f8; white-space: nowrap; }
.erpwin__feed li:first-child { border-top: 0; }
.erpwin__feed li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; color: #4a5370; }
.erpwin__feed li b { font-weight: 600; }
.erpwin__feed li.is-new { animation: feedIn .7s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); background: #eef0ff; } 60% { background: #eef0ff; } to { opacity: 1; transform: none; background: transparent; } }
.src { font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 6px; }
.src--pdv { background: #dcfce7; color: #15803d; } .src--term { background: #fff1db; color: #8a4b00; } .src--menu { background: #ffe4e9; color: #be123c; } .src--del { background: #e0f2fe; color: #0369a1; }
.hstage__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hstage__chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 12.5px; font-weight: 500; }
.hstage__chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); animation: chipPulse 2.6s ease-out infinite; }
.hstage__chips span:nth-child(2) i { animation-delay: .65s; } .hstage__chips span:nth-child(3) i { animation-delay: 1.3s; } .hstage__chips span:nth-child(4) i { animation-delay: 1.95s; }
@keyframes chipPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
@media (max-width: 900px) { .terms__img { min-height: 0; aspect-ratio: 4 / 3; } .hero__grid .hstage { margin-top: 8px; } }
@media (max-width: 520px) {
  .erpwin__kpis { grid-template-columns: 1fr 1fr; }
  .erpwin__kpis div:nth-child(3) { display: none; }
  .erpwin__url { display: none; }
  .erpwin__body { grid-template-columns: 1fr; }
  .erpwin__side { display: none; }
  .erpwin__feed li > span:nth-child(2) { display: none; }
  .erpwin__feed li { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { .erpwin__line { stroke-dashoffset: 0; } }

.contact__inner > * { min-width: 0; }
.cform__grid > * { min-width: 0; }
.hero__grid > * { min-width: 0; }
.hero h1 { overflow-wrap: anywhere; }
@media (max-width: 360px) { .hero h1 { font-size: 2.2rem; } }
.app__main { min-width: 0; }
@media (max-width: 420px) { .app__kpis { grid-template-columns: 1fr 1fr; } .app__kpis div:nth-child(3) { display: none; } .app__list span:not(.av) { display: none; } }
