/* Percursos completos dos três lados (prestador, restaurante e cliente) nos cartões da landing.
   Tudo animado só com CSS; o landing-fluxo.js troca o passo ativo (.on) e mantém a legenda e os pontos. */
.cena.fx { position: relative; height: 548px; overflow: hidden; display: block; padding: 0; --leg: var(--carbon); --acc: #ff8a00; --acc2: #ff8a00; --accink: #17120d; }
.cena.fx.fx-p { background: linear-gradient(180deg, #ffb347, #ff9a1a); }
.cena.fx.fx-r { background: #1d2738; --leg: #fff7ec; }
.cena.fx.fx-c { background: linear-gradient(180deg, #d85a00, #a94300); --leg: #fff7ec; --acc: #7bbfbb; --acc2: #7bbfbb; }
.fx-leg { position: absolute; left: 14px; right: 14px; top: 10px; height: 46px; display: flex; align-items: center; gap: 10px; color: var(--leg); z-index: 4; }
.fx-leg b { flex: 0 0 auto; min-width: 38px; padding: 4px 8px; border-radius: 999px; background: var(--leg); color: #ffb347; font: 800 12px/1 var(--body); text-align: center; }
.fx-p .fx-leg b { color: #ffb347; background: var(--carbon); }
.fx-r .fx-leg b { background: #ffb347; color: #17120d; }
.fx-c .fx-leg b { background: #fff7ec; color: #a94300; }
.fx-leg span { font: 700 15px/1.2 var(--display); transition: opacity .3s; }
.fx-fone { position: absolute; left: 50%; top: 64px; width: 232px; height: 440px; margin-left: -116px; background: var(--carbon); border-radius: 32px; padding: 7px; box-shadow: 0 22px 44px rgba(23, 18, 13, .4); z-index: 2; }
.fx-ilha { position: absolute; top: 12px; left: 50%; width: 54px; height: 6px; margin-left: -27px; border-radius: 6px; background: #3a2f25; z-index: 6; }
.fx-tela { position: relative; width: 218px; height: 426px; border-radius: 26px; overflow: hidden; background: #fff7ec; color: #17120d; font-family: var(--body); }
.fx-c .fx-tela { background: #fff; }
.fx-pontos { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 7px; z-index: 4; }
.fx-pontos button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 18, 13, .28); cursor: pointer; transition: width .25s, background .25s; }
.fx-r .fx-pontos button, .fx-c .fx-pontos button { background: rgba(255, 247, 236, .35); }
.fx-pontos button[aria-current="true"] { width: 24px; border-radius: 6px; background: var(--carbon); }
.fx-r .fx-pontos button[aria-current="true"], .fx-c .fx-pontos button[aria-current="true"] { background: #ffb347; }
.fx-pausa { position: absolute; right: 12px; bottom: 2px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(23, 18, 13, .2); color: inherit; display: grid; place-items: center; cursor: pointer; z-index: 5; padding: 0; }
.fx-pausa svg { width: 12px; height: 12px; fill: var(--leg); }
.fx-pausa .i-play { display: none; }
.fx.parado .fx-pausa .i-play { display: block; }
.fx.parado .fx-pausa .i-pause { display: none; }

/* passos */
.x-s { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.x-s.on { opacity: 1; visibility: visible; }
.x-s.on.sai { opacity: 0; }
.x-ab { position: absolute; left: 0; right: 0; top: 0; height: 52px; padding: 28px 14px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; z-index: 3; }
.x-ab b { font: 800 14px/1 var(--display); }
.x-chip { padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; background: #17120d; color: #fff7ec; white-space: nowrap; }
.x-chip.ok { background: #1f9d55; color: #fff; }
.x-chip.am { background: #ffb347; color: #17120d; }
.x-corpo { position: absolute; inset: 52px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.x-card { background: #fff; border-radius: 16px; padding: 11px 12px; box-shadow: 0 2px 10px rgba(23, 18, 13, .1); border: 1px solid rgba(23, 18, 13, .06); }
.x-card h4 { margin: 0; font: 800 13px/1.2 var(--body); }
.x-sm { font-size: 11px; color: #54483b; line-height: 1.35; }
.x-big { font: 800 30px/1 var(--display); }
.x-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.x-row b { font-weight: 800; white-space: nowrap; }
.x-row .x-sm { white-space: nowrap; }
.x-lin { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 5px 0; }
.x-lin + .x-lin { border-top: 1px dashed rgba(23, 18, 13, .15); }
.x-btn { margin-top: 2px; padding: 10px; border-radius: 14px; background: var(--acc2); color: var(--accink); text-align: center; font-weight: 800; font-size: 13px; position: relative; }
.x-btn.esc { background: #17120d; color: #fff7ec; }
.x-btn.verde { background: #1f9d55; color: #fff; }
.x-btn.cont { background: transparent; border: 2px solid #17120d; color: #17120d; padding: 8px; }
.x-pt { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; border: 3px solid #17120d; }
.x-pt.b { background: #ff8a00; border-color: #c75000; }
.x-bar { height: 7px; border-radius: 6px; background: rgba(23, 18, 13, .12); overflow: hidden; }
.x-bar i { display: block; height: 100%; width: 100%; background: var(--acc); border-radius: 6px; transform-origin: left; transform: scaleX(0); }
.x-av { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #ff8a00; background: #17120d; flex: 0 0 auto; }
.x-ico { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; }
.x-ico svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.x-ico.cz { background: rgba(23, 18, 13, .15); }
.x-ico.cz svg { stroke: #54483b; }
.x-foto { width: 100%; height: 66px; border-radius: 12px; background: linear-gradient(135deg, #e8c9a0, #cfa46a); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #17120d; position: relative; overflow: hidden; }
.x-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(-100%); }
.x-s.on .x-foto::after { animation: xBrilho 1.1s ease-out forwards; animation-delay: var(--d, 0s); }

/* mapa */
.x-mapa { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-rota { fill: none; stroke: #ff8a00; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.x-c .x-rota { stroke: #d85a00; }
.x-s.on .x-rota { animation: xTraca var(--t, 1.4s) ease-out forwards; animation-delay: var(--d, 0s); }
.x-pin { position: absolute; width: 30px; height: 30px; margin: -30px 0 0 -15px; z-index: 2; }
.x-pin svg { width: 100%; height: 100%; fill: #17120d; stroke: #fff; stroke-width: 1.5; }
.x-pin.lar svg { fill: #c75000; }
.x-pin.az svg { fill: #2b6cb0; }
.x-pin em { position: absolute; left: 50%; top: 31px; transform: translateX(-50%); padding: 2px 6px; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(23, 18, 13, .25); font: 800 9.5px/1.2 var(--body); font-style: normal; white-space: nowrap; }
.x-moto { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid #ff8a00; background: #17120d; z-index: 3; offset-path: var(--p); offset-rotate: 0deg; offset-distance: 0%; box-shadow: 0 3px 8px rgba(23, 18, 13, .35); }
.x-s.on .x-moto { animation: xRode var(--t, 3s) cubic-bezier(.4, 0, .6, 1) forwards; animation-delay: var(--d, 0s); }
.x-folha { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border-radius: 18px; background: #fff; box-shadow: 0 -2px 16px rgba(23, 18, 13, .22); display: flex; flex-direction: column; gap: 7px; z-index: 4; }
.x-topo { position: absolute; left: 10px; right: 10px; top: 28px; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(23, 18, 13, .2); font-size: 11.5px; font-weight: 800; }

/* efeitos */
.rv { opacity: 0; }
.x-s.on .rv { animation: xSobe .55s var(--ease) forwards; animation-delay: var(--d, 0s); }
.pp { opacity: 0; transform: scale(.6); }
.x-s.on .pp { animation: xPop .55s cubic-bezier(.3, 1.5, .5, 1) forwards; animation-delay: var(--d, 0s); }
.fill { transform: scaleX(0); }
.x-s.on .fill { animation: xEnche var(--t, 2s) linear forwards; animation-delay: var(--d, 0s); }
.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(23, 18, 13, .28); opacity: 0; z-index: 8; pointer-events: none; }
.x-s.on .tap { animation: xToque .75s ease-out forwards; animation-delay: var(--d, 2s); }
.dig { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; vertical-align: bottom; border-right: 2px solid transparent; }
.x-s.on .dig { animation: xDig var(--t, 1.4s) steps(var(--n, 20), end) forwards, xCursor .6s step-end 3; animation-delay: var(--d, 0s); }
.pulsa { animation: none; }
.x-s.on .pulsa { animation: xPulsa 1.2s ease-in-out infinite; }
.radar { position: absolute; left: 50%; top: 120px; width: 120px; height: 120px; margin-left: -60px; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #ffb347; opacity: 0; }
.x-s.on .radar i { animation: xRadar 1.6s ease-out infinite; }
.x-s.on .radar i:nth-child(2) { animation-delay: .5s; }
.x-s.on .radar i:nth-child(3) { animation-delay: 1s; }
.radar .nucleo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #ffb347; display: grid; place-items: center; font-size: 22px; }
.some { opacity: 1; }
.x-s.on .some { animation: xSome .4s forwards; animation-delay: var(--d, 2s); }
.vem { opacity: 0; }
.x-s.on .vem { animation: xVem .5s forwards; animation-delay: var(--d, 2s); }
.cheque { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.x-s.on .cheque { animation: xTraca .5s ease-out forwards; animation-delay: var(--d, .4s); }
.bola-ok { width: 74px; height: 74px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; margin: 0 auto; }
.bola-ok svg { width: 40px; height: 40px; }
.x-s.on .bola-ok { animation: xPop .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
.col { display: flex; align-items: flex-end; justify-content: space-between; height: 62px; gap: 5px; }
.col i { flex: 1; border-radius: 5px 5px 2px 2px; background: #ffb347; transform-origin: bottom; transform: scaleY(0); }
.col i:last-child { background: #1f9d55; }
.x-s.on .col i { animation: xCresce .7s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + var(--k) * .09s); }
.conf { position: absolute; left: 50%; top: 150px; width: 8px; height: 12px; border-radius: 2px; opacity: 0; z-index: 7; }
.x-s.on .conf { animation: xConf 1.6s ease-out forwards; animation-delay: var(--d, .2s); }
.estrelas { display: flex; justify-content: center; gap: 4px; }
.estrelas svg { width: 28px; height: 28px; fill: rgba(23, 18, 13, .15); }
.x-s.on .estrelas svg { animation: xEstrela .35s forwards; animation-delay: calc(var(--d, 1s) + var(--k) * .18s); }
.slide { position: absolute; transform: translateX(-130%); }
.x-s.on .slide { animation: xEntra .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
.cartao-mov { transition: none; }
.x-s.on .cartao-mov { animation: xMove 1s var(--ease) forwards; animation-delay: var(--d, 1.4s); }
.bt-sobe { transform: translateY(120%); }
.x-s.on .bt-sobe { animation: xFolha .55s var(--ease) forwards; animation-delay: var(--d, .6s); }
.sel { transition: none; }
.x-s.on .sel { animation: xSel .3s forwards; animation-delay: var(--d, 1s); }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 128px; height: 128px; margin: 0 auto; padding: 6px; background: #fff; border: 1px solid rgba(23, 18, 13, .15); border-radius: 10px; }
.qr i { background: #17120d; border-radius: 1px; }
.qr i.v { background: transparent; }
.sobre { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #fff; opacity: 0; font: 800 15px/1.2 var(--display); text-align: center; }
.x-s.on .sobre { animation: xVem .45s forwards; animation-delay: var(--d, 2.4s); }
.vit-t { display: flex; align-items: center; gap: 8px; background: #7bbfbb; padding: 28px 12px 10px; }
.vit-t .logo { width: 30px; height: 30px; border-radius: 50%; background: #17120d; color: #ffb347; display: grid; place-items: center; font: 800 12px var(--display); border: 2px solid #fff; }
.vit-t b { font: 800 13px var(--display); flex: 1; color: #17120d; }
.vit-t span { font-size: 10px; font-weight: 800; background: #fff; border-radius: 999px; padding: 2px 8px; color: #1f6f3e; }
.vit-ban { margin: 10px 12px 0; border-radius: 14px; padding: 12px; background: linear-gradient(120deg, #d85a00, #ff8a00); color: #fff; font: 800 15px/1.1 var(--display); }
.vit-ban small { display: block; margin-top: 4px; font: 600 10.5px var(--body); opacity: .9; }
.vit-cats { display: flex; gap: 6px; padding: 10px 12px 4px; font-size: 10.5px; font-weight: 800; }
.vit-cats span { padding: 4px 9px; border-radius: 999px; background: #f2ebe0; color: #54483b; white-space: nowrap; }
.vit-cats span.a { background: #7bbfbb; color: #17120d; }
.vit-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 12px; }
.vit-p { border-radius: 14px; background: #fff; border: 1px solid rgba(23, 18, 13, .1); padding: 7px; font-size: 10.5px; position: relative; box-shadow: 0 2px 8px rgba(23, 18, 13, .06); }
.vit-p i { display: block; height: 54px; border-radius: 10px; margin-bottom: 5px; }
.vit-p b { display: block; font-size: 11.5px; }
.vit-p em { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; background: #7bbfbb; color: #17120d; display: grid; place-items: center; font: 800 16px/1 var(--body); font-style: normal; }
.vit-p .qtd { position: absolute; right: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #17120d; color: #fff; display: grid; place-items: center; font: 800 11px/1 var(--body); opacity: 0; }
.x-s.on .vit-p .qtd { animation: xPop .45s cubic-bezier(.3, 1.5, .5, 1) forwards; animation-delay: var(--d, 1s); }
.vit-cart { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 11px 14px; border-radius: 16px; background: #17120d; color: #fff7ec; display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; font-size: 12px; font-weight: 800; z-index: 4; box-shadow: 0 6px 16px rgba(23, 18, 13, .35); }
.camp { padding: 8px 10px; border-radius: 12px; background: #f6f0e6; font-size: 11.5px; font-weight: 700; display: flex; flex-direction: column; gap: 1px; }
.camp small { font-size: 9.5px; color: #54483b; font-weight: 600; }
.pass { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; font-weight: 800; padding: 7px 0; position: relative; }
.pass small { display: block; font-weight: 600; color: #54483b; font-size: 10.5px; }
.pass + .pass::before { content: ""; position: absolute; left: 9px; top: -9px; width: 2px; height: 16px; background: rgba(23, 18, 13, .15); }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 9.5px; font-weight: 800; text-align: center; position: relative; }
.kb div { background: rgba(23, 18, 13, .06); border-radius: 10px; padding: 6px 4px; min-height: 150px; }
.kb .ped { position: absolute; left: 3px; top: 26px; width: calc(33.3% - 4px); padding: 6px 5px; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(23, 18, 13, .2); font-size: 9.5px; border-left: 4px solid #ff8a00; text-align: left; }
.toast { position: absolute; left: 8px; right: 8px; top: 30px; padding: 9px 11px; border-radius: 14px; background: #17120d; color: #fff7ec; font-size: 11.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; z-index: 8; transform: translateY(-140%); box-shadow: 0 6px 16px rgba(23, 18, 13, .35); }
.x-s.on .toast { animation: xToast 3.4s var(--ease) forwards; }
.toast i { width: 26px; height: 26px; border-radius: 50%; background: #ffb347; flex: 0 0 auto; display: grid; place-items: center; font-style: normal; }

@keyframes xSobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes xPop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes xTraca { to { stroke-dashoffset: 0; } }
@keyframes xRode { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes xEnche { to { transform: scaleX(1); } }
@keyframes xToque { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes xDig { to { width: var(--w, 20ch); } }
@keyframes xCursor { 50% { border-right-color: #17120d; } }
@keyframes xPulsa { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 138, 0, .5); } 50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255, 138, 0, 0); } }
@keyframes xRadar { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes xSome { to { opacity: 0; visibility: hidden; } }
@keyframes xVem { to { opacity: 1; } }
@keyframes xCresce { to { transform: scaleY(1); } }
@keyframes xConf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes xEstrela { to { fill: #ffb347; transform: scale(1.12); } }
@keyframes xEntra { to { transform: translateX(0); } }
@keyframes xMove { to { left: calc(33.3% + 1px); } }
@keyframes xFolha { to { transform: none; } }
@keyframes xSel { to { background: #ffb347; color: #17120d; } }
@keyframes xToast { 0% { transform: translateY(-140%); } 12%, 80% { transform: none; } 100% { transform: translateY(-140%); } }
@keyframes xBrilho { to { transform: translateX(100%); } }

@media (max-width: 380px) { .fx-leg span { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .x-s *, .x-s.on * { animation: none !important; }
  .rv, .pp, .vem, .bt-sobe, .slide, .fill, .col i, .x-bar i, .cheque, .x-rota, .vit-p .qtd { opacity: 1; transform: none; stroke-dashoffset: 0; }
  .dig { width: auto; }
  .sobre, .conf, .tap, .toast { display: none; }
  .x-moto { offset-distance: 100%; }
  .x-s { transition: none; }
}
