/* ===== Diskservi · seções 3D da página inicial (prefixo dsx-) ===== */
#sobre.v2-hero { padding-bottom: clamp(56px, 8vw, 96px); }
/* brilho azul concentrado atrás da logo, preto forte nas bordas (topo ficou mais baixo sem o celular antigo) */
#sobre.v2-hero::before { top: 0; width: 720px; height: 600px;
  background: radial-gradient(closest-side, rgba(63,107,255,.52), rgba(90,96,255,.2) 48%, rgba(142,92,255,.06) 68%, transparent 80%); }
@media (max-width: 600px) { #sobre.v2-hero::before { top: 20px; width: 560px; height: 520px; } }

.dsx-act { position: relative; height: 820vh; background: #fff; padding: 0 !important; margin: 0 !important; }
.dsx-act--cp { height: 620vh; }
.dsx-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(110% 70% at 50% 46%, #ffffff 0%, #f4f6fa 66%, #e9edf4 100%); }
.dsx-glwrap { position: absolute; inset: 0; }
.dsx-glwrap canvas { display: block; width: 100%; height: 100%; }
.dsx-scr { position: absolute; left: 0; top: 0; overflow: hidden; opacity: 0; pointer-events: none; background: #05060a; }
.dsx-scr img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: none; }
.dsx-scr i { position: absolute; left: 50%; transform: translateX(-50%); background: #05060a; border-radius: 999px; z-index: 2; }

.dsx-cap { position: absolute; left: 0; right: 0; top: calc(52px + 26px + env(safe-area-inset-top, 0px));
  text-align: center; padding: 0 22px; opacity: 0; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease; pointer-events: none; color: #0a0a0a; }
.dsx-cap.on { opacity: 1; transform: none; }
.dsx-cap h2 { font-family: var(--font, 'Onest', sans-serif); font-weight: 800; font-size: clamp(30px, 7.6vw, 48px);
  line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.dsx-cap p { margin: 10px auto 0; max-width: 440px; font-size: 16px; line-height: 1.45; color: #1f2329; }
.dsx-kick { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #2F5BFF; background: #eef2ff; border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.dsx-b { color: #2F5BFF; }

.dsx-chips { position: absolute; left: 0; right: 0; bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 14px; opacity: 0;
  transition: opacity .35s; pointer-events: none; }
.dsx-chips.on { opacity: 1; }
.dsx-chip { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: #fff;
  border: 1.5px solid #dfe3ea; color: #0a0a0a; transition: all .3s ease; box-shadow: 0 2px 6px rgba(15,23,42,.05); }
@media (max-width: 480px) { .dsx-chips { gap: 6px; padding: 0 10px; } .dsx-chip { font-size: 13px; padding: 7px 11px; } }
.dsx-chip.lit { background: #2F5BFF; border-color: #2F5BFF; color: #fff; transform: scale(1.06); box-shadow: 0 8px 20px rgba(47,91,255,.35); }
.dsx-chip.done { border-color: #2F5BFF; color: #2F5BFF; }
.dsx-chip--more { border-style: dashed; color: #1f2329; }
.dsx-chip--more.done { border-color: #2F5BFF; color: #2F5BFF; }

.dsx-step { position: absolute; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 10px);
  display: flex; align-items: center; gap: 10px; background: #0a0a0a; color: #fff; border-radius: 999px;
  padding: 8px 16px 8px 8px; font-size: 15px; font-weight: 600; white-space: nowrap; opacity: 0;
  transition: opacity .3s, transform .3s; pointer-events: none; box-shadow: 0 10px 26px rgba(10,10,10,.22); }
.dsx-step.on { opacity: 1; transform: translate(-50%, 0); }
.dsx-step em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: #2F5BFF;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }

.dsx-pay { position: absolute; left: 50%; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(360px, calc(100% - 32px)); background: #fff; border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.12); opacity: 0; transition: opacity .35s; pointer-events: none; color: #0a0a0a; }
.dsx-pay.on { opacity: 1; }
.dsx-pay__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dsx-pay__top small { font-size: 13px; font-weight: 600; color: #1f2329; }
.dsx-pay__top b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #2F5BFF; }
.dsx-pay__top b span { font-size: 13px; font-weight: 600; color: #1f2329; letter-spacing: 0; margin-left: 4px; }
.dsx-sim { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; color: #1f2329; background: #f1f3f7; border-radius: 999px; padding: 4px 10px; margin-bottom: 8px; }
.dsx-bar { position: relative; height: 10px; border-radius: 999px; background: #e6e9f0; margin-top: 12px; }
.dsx-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2F5BFF, #4C6BFF); }
.dsx-coin { position: absolute; top: 50%; left: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff2b8, #f5c542 45%, #d99a12 100%); box-shadow: 0 2px 6px rgba(160,110,0,.35);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #8a5a00; }

.dsx-hint { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 900; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px;
  padding: 9px 16px 9px 12px; box-shadow: 0 6px 22px rgba(15,23,42,.14); font-size: 14px; font-weight: 600;
  color: #0a0a0a; transition: opacity .4s; pointer-events: none; white-space: nowrap; opacity: 0; }
.dsx-hint.on { opacity: 1; }
.dsx-hand { width: 22px; height: 26px; animation: dsxSwipe 1.6s ease-in-out infinite; }
@keyframes dsxSwipe { 0% { transform: translateY(6px); opacity: 0 } 20% { opacity: 1 } 70% { transform: translateY(-6px); opacity: 1 } 100% { transform: translateY(-8px); opacity: 0 } }

/* ----- versão parada (sem 3D ou "reduzir movimento") ----- */
.dsx-static { display: none; }
html.dsx-off .dsx-act { height: auto; }
html.dsx-off .dsx-sticky { position: relative; height: auto; padding: 72px 0 64px; }
html.dsx-off .dsx-glwrap, html.dsx-off .dsx-scr, html.dsx-off .dsx-cap, html.dsx-off .dsx-chips, html.dsx-off .dsx-step,
html.dsx-off .dsx-pay, html.dsx-off .dsx-hint { display: none; }
html.dsx-off .dsx-static .dsx-chips { display: flex; }
html.dsx-off .dsx-static { display: block; text-align: center; padding: 0 18px; }
.dsx-static h2 { font-weight: 800; font-size: clamp(28px, 7vw, 44px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 18px; color: #0a0a0a; }
.dsx-static .dsx-chips { position: static; opacity: 1; display: flex; margin-bottom: 30px; }
.dsx-shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; }
.dsx-shots figure { margin: 0; flex: none; width: 220px; scroll-snap-align: center; }
.dsx-shots img, .dsx-shots canvas { width: 100%; border-radius: 22px; box-shadow: 0 10px 30px rgba(15,23,42,.14); display: block; background: #fff; }
.dsx-shots figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; color: #0a0a0a; }
.dsx-static p { color: #1f2329; font-size: 16px; max-width: 440px; margin: 8px auto 0; }

/* computador: celular grande no centro, título e etapa ao lado */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .dsx-cap--side { left: 6%; right: auto; width: 30%; top: 50%; text-align: left; padding: 0; transform: translateY(calc(-50% + 12px)); }
  .dsx-cap--side.on { transform: translateY(-50%); }
  .dsx-step { left: 6%; bottom: auto; top: calc(50% + 90px); transform: translate(0, 10px); }
  .dsx-step.on { transform: none; }
}

/* computador: título do Checkpoint mais alto e um pouco menor, para não encostar nos cartões */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .dsx-act--cp .dsx-cap { top: calc(52px + 14px); }
  .dsx-act--cp .dsx-cap h2 { font-size: clamp(30px, 3vw, 40px); }
  .dsx-act--cp .dsx-cap p { font-size: 15px; margin-top: 6px; }
  .dsx-act--cp .dsx-kick { margin-bottom: 8px; }
}
