/* Tour em janela (cartões da vitrine e etapas do processo). */
.tour-trigger{cursor:pointer;position:relative}
.tour-trigger:focus-visible{outline:2px solid #8fa8ff;outline-offset:3px}
.showcase-card.tour-trigger{user-select:none}
.showcase-card .tour-hint{margin:auto 16px 18px;align-self:flex-start}
.tour-hint{display:inline-flex;align-items:center;gap:6px;font:600 12px 'Space Grotesk',sans-serif;letter-spacing:.5px;color:#8fa8ff;border-bottom:1px solid #8fa8ff55;padding-bottom:2px;transition:.2s}
.tour-trigger:hover .tour-hint,.tour-trigger:focus-visible .tour-hint{color:#fff;border-color:#c46bff}
#producao .step.tour-trigger{user-select:none;transition:background .25s}
#producao .step.tour-trigger:hover{background:linear-gradient(180deg,#11163a88,transparent)}
#producao .step .tour-hint{margin-top:18px}

body.tour-lock{overflow:hidden}
.tour-modal{position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center;padding:24px}
.tour-modal.open{display:flex}
.tour-backdrop{position:absolute;inset:0;background:rgba(3,3,8,.84);backdrop-filter:blur(10px)}
.tour-panel{position:relative;width:min(980px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:36px 40px 28px;border:1px solid #3a4fd0;background:linear-gradient(145deg,#0e1024,#05060f);box-shadow:0 30px 100px rgba(61,107,255,.25);animation:tourIn .3s ease}
.tour-close{position:absolute;right:16px;top:10px;background:none;border:0;color:#fff;font-size:34px;line-height:1;cursor:pointer}
.tour-head h2{font-family:'Space Grotesk',sans-serif;font-size:clamp(26px,3.4vw,40px);line-height:1.1;margin:12px 40px 26px 0}
.tour-body{display:grid;grid-template-columns:1fr 1.05fr;gap:34px;align-items:center;min-height:300px}
.tour-count{font:600 12px 'Space Grotesk',sans-serif;letter-spacing:2px;color:#8fa8ff}
.tour-text h3{font-family:'Space Grotesk',sans-serif;font-size:24px;margin:10px 0 12px}
.tour-text p{color:#c3c8e6;font-size:16px;line-height:1.7}
.tour-screen.in .tour-device{animation:tourIn .35s ease}
.tour-device{border:1px solid #2b3270;border-radius:14px;background:#080a1a;box-shadow:0 0 0 6px #0c0f26,0 20px 60px #3d6bff26;overflow:hidden}
.tour-bar{display:flex;align-items:center;gap:6px;padding:11px 14px;background:#10142f;border-bottom:1px solid #222a5e}
.tour-bar i{width:9px;height:9px;border-radius:50%;background:#3d4580}
.tour-bar i:first-child{background:#c46bff}
.tour-bar span{margin-left:8px;font:600 13px 'Space Grotesk',sans-serif;color:#dfe4ff}
.tour-rows{padding:8px 16px}
.tour-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px dashed #232a55;font-size:14px}
.tour-row:last-child{border-bottom:0}
.tour-row span{color:#b9bfe0}
.tour-row b{color:#fff;font-weight:600;text-align:right}
.tour-highlight{margin:4px 16px 12px;padding:12px 14px;border-radius:8px;background:linear-gradient(90deg,#3d6bff,#a64dff);color:#fff;font:700 14px 'Space Grotesk',sans-serif;text-align:center}
.tour-chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 16px 12px}
.tour-chips span{font-size:11px;letter-spacing:1px;padding:5px 9px;border:1px solid #4d6bff;color:#c9d3ff;border-radius:999px}
.tour-note{display:block;padding:0 16px 12px;color:#6b7199;font-size:11px;text-align:right}
.tour-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:28px;padding-top:20px;border-top:1px solid #1f2550}
.tour-dots{display:flex;gap:8px}
.tour-dots button{width:28px;height:6px;border:0;border-radius:3px;background:#2b3270;cursor:pointer;padding:0}
.tour-dots button.on{background:linear-gradient(90deg,#3d6bff,#c46bff)}
.tour-nav{display:flex;gap:10px;align-items:center}
.tour-btn{padding:11px 18px;border-radius:5px;border:1px solid #4d6bff;background:#3d6bff;color:#fff;font:700 13px 'DM Sans',sans-serif;cursor:pointer}
.tour-btn.ghost{background:transparent;color:#c9d3ff;border-color:#2b3270}
.tour-btn:disabled{opacity:.35;cursor:default}
.tour-nav .tour-cta{width:auto;margin:0;padding:11px 18px}
.tour-nav [hidden]{display:none}
@keyframes tourIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:760px){
  .tour-modal{padding:12px}
  .tour-panel{padding:26px 20px 20px;max-height:calc(100vh - 24px)}
  .tour-body{grid-template-columns:1fr;gap:20px;min-height:0}
  .tour-head h2{margin-bottom:16px}
  .tour-foot{flex-direction:column;align-items:stretch}
  .tour-dots{justify-content:center}
  .tour-nav{justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.tour-panel,.tour-screen.in .tour-device{animation:none}}
