/* Ilustrações dos diferenciais: cada uma mostra a própria função */
.dif-arte { display: block; height: auto; aspect-ratio: 2 / 1; width: 100%; background: #120e0a; border-radius: 18px; position: relative; overflow: hidden; margin-bottom: 10px; }
.dif.grande .dif-arte { aspect-ratio: auto; height: 280px; }
.dif-arte svg { display: block; }
.da-chip { position: absolute; left: 10px; bottom: 10px; background: var(--brand); color: var(--carbon); font: 800 12px var(--body); padding: 4px 12px; border-radius: 999px; animation: chipEntra 5s var(--ease) infinite; }
@keyframes chipEntra { 0%, 15% { opacity: 0; transform: translateY(8px); } 30%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Pix */
.da-pix { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 44px); padding: 20px; }
.da-qrbox { position: relative; width: 170px; height: 170px; background: #fff; border-radius: 16px; padding: 12px; flex: none; overflow: hidden; }
.qr { width: 100%; height: 100%; display: block; }
.da-scan { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand); animation: varre 4s ease-in-out infinite; }
@keyframes varre { 0% { top: 0; opacity: 1; } 40% { top: calc(100% - 4px); opacity: 1; } 45%, 100% { top: calc(100% - 4px); opacity: 0; } }
.da-recibo { display: grid; gap: 4px; color: var(--creme); animation: reciboEntra 4s var(--ease) infinite; }
@keyframes reciboEntra { 0%, 40% { opacity: .15; transform: scale(.94); } 55%, 90% { opacity: 1; transform: none; } 100% { opacity: .15; } }
.da-check { width: 44px; height: 44px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.da-check svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.da-recibo b { font-size: 16px; margin-top: 6px; }
.da-recibo strong { font: 800 clamp(30px, 3.4vw, 44px) var(--display); color: var(--brand); line-height: 1; }
.da-recibo small { color: #cfc2b2; font-size: 13px; }

/* Mapa */
.da-mapa svg, .da-radar svg, .da-frete svg { width: 100%; height: 100%; }
.da-rua { stroke: #30251b; stroke-width: 10; fill: none; }
.da-rota { stroke: var(--brand); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracaRota 5s var(--ease) infinite; }
.da-frete .da-rota { stroke-dasharray: 8 8; stroke-dashoffset: 0; animation: tracejado 1s linear infinite; }
@keyframes tracaRota { 0% { stroke-dashoffset: 1; } 60%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tracejado { to { stroke-dashoffset: -16; } }
.da-moto { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--creme); border: 4px solid var(--brand); left: 10.8%; top: 81.7%; animation: motoAnda 5s var(--ease) infinite; }
@keyframes motoAnda { 0% { left: 10.8%; top: 81.7%; opacity: 0; } 8% { opacity: 1; } 40% { left: 46.7%; top: 43%; } 60%, 90% { left: 85.8%; top: 20%; opacity: 1; } 100% { left: 85.8%; top: 20%; opacity: 0; } }

/* Radar de ofertas */
.da-anel { fill: none; stroke: #30251b; stroke-width: 2; }
.da-perto { fill: var(--creme); animation: pertoPisca 5s infinite; transform-box: fill-box; transform-origin: center; }
.da-longe { fill: #6b5a4a; }
@keyframes pertoPisca { 0%, 20% { fill: #6b5a4a; transform: scale(1); } 35%, 90% { fill: var(--brand); transform: scale(1.7); } 100% { fill: #6b5a4a; transform: scale(1); } }
.da-radar .da-chip { top: 10px; bottom: auto; }
.da-etq { position: absolute; font: 700 11px var(--body); color: #b9a995; }
.da-etq.e1 { left: 66%; top: 22%; color: var(--creme); }
.da-etq.e2 { left: 14%; top: 74%; }
.da-etq.e3 { left: 72%; top: 80%; }

/* Repasse */
.da-repasse { display: grid; align-content: center; gap: 12px; padding: 0 16px; }
.da-lin { position: relative; display: flex; align-items: center; gap: 10px; background: #30251b; color: var(--creme); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.da-lin span { flex: 1; }
.da-lin em { font-style: normal; font-weight: 800; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.da-lin .pend { background: var(--brand); color: var(--carbon); }
.da-lin .ok { position: absolute; right: 14px; background: var(--ok); color: #fff; opacity: 0; animation: acertou 5s infinite; }
.da-lin:first-child .pend { animation: sumiu 5s infinite; }
@keyframes acertou { 0%, 45% { opacity: 0; transform: scale(.8); } 60%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sumiu { 0%, 45% { opacity: 1; } 55%, 90% { opacity: 0; } 100% { opacity: 1; } }

/* SOS */
.da-sos, .da-lgpd, .da-nota { display: grid; place-items: center; }
.da-btnsos { width: 66px; height: 66px; border-radius: 50%; background: #d83b2d; color: #fff; display: grid; place-items: center; font: 800 20px var(--display); box-shadow: 0 0 0 0 rgba(216, 59, 45, .7); animation: sos 1.8s infinite; margin-bottom: 14px; }
.da-sos .da-chip { left: 50%; transform: translateX(-50%); animation-name: chipEntra2; }
@keyframes chipEntra2 { 0%, 15% { opacity: 0; transform: translate(-50%, 8px); } 30%, 90% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* LGPD */
.da-lgpd svg { width: 64px; height: 64px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; animation: desenha 4s ease-in-out infinite; margin-bottom: 14px; }
.da-lgpd .da-chip { left: 50%; animation-name: chipEntra2; }

/* Frete */
.da-frete .da-chip { left: 50%; bottom: auto; top: 10px; animation-name: chipEntra2; }

/* Avaliação */
.da-estrelas { display: flex; gap: 8px; margin-bottom: 14px; }
.da-estrelas i { width: 30px; height: 30px; background: #54463a; clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 92%, 50% 71%, 20% 92%, 31% 57%, 2% 35%, 38% 35%); animation: estrela 5s infinite; }
.da-estrelas i:nth-child(2) { animation-delay: .15s; } .da-estrelas i:nth-child(3) { animation-delay: .3s; } .da-estrelas i:nth-child(4) { animation-delay: .45s; } .da-estrelas i:nth-child(5) { animation-delay: .6s; }
@keyframes estrela { 0%, 10% { background: #54463a; transform: scale(1); } 20% { background: var(--brand); transform: scale(1.3); } 30%, 90% { background: var(--brand); transform: scale(1); } 100% { background: #54463a; } }
.da-nota .da-chip { left: 50%; animation-name: chipEntra2; }

@media (max-width: 560px) {
  .da-qrbox { width: 130px; height: 130px; }
  .dif.grande .dif-arte { height: 220px; }
}

/* correções de grade */
.grade-dif { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dif:last-child { grid-column: span 2; }
.dif:last-child .dif-arte { aspect-ratio: 4 / 1; }
.da-chip, .da-lin b, .da-lin span, .da-lin em { white-space: nowrap; }
.da-lin { padding: 8px 12px; font-size: 13px; }
.da-repasse { gap: 8px; }
@media (max-width: 1020px) { .grade-dif { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dif.grande { grid-column: span 2; grid-row: auto; } .dif:last-child { grid-column: auto; } .dif:last-child .dif-arte { aspect-ratio: 2 / 1; } }
@media (max-width: 560px) { .grade-dif { grid-template-columns: 1fr; } .dif.grande { grid-column: auto; } }

.dif.grande .dif-arte { height: 380px; display: flex; }
.da-repasse { padding: 0 12px; }
.da-lin { gap: 8px; padding: 8px 10px; }
.da-lin .ok { right: 10px; }
@media (max-width: 560px) { .dif.grande .dif-arte { height: 240px; } }

/* sem links: o cartão não parece clicável */
.cartao { cursor: default; }
.chamar { display: none; }
.cartao-corpo { padding-bottom: 30px; }
