* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: "Segoe UI", Arial, sans-serif; color: #1f2937; background: #0f1b3d; overflow: hidden; }
.tour-top { position: fixed; top: 0; left: 0; right: 0; height: 56px; background: #1b2a5c; border-bottom: 3px solid #f5a623; display: flex; align-items: center; gap: 18px; padding: 0 18px; z-index: 30; color: #fff; }
.tour-marca { font-weight: 700; font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.tour-marca small { font-weight: 400; opacity: .75; margin-left: 8px; }
.tour-caps { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tour-cap { background: rgba(255,255,255,.08); color: #cfd8f0; border: 0; border-radius: 16px; padding: 6px 13px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.tour-cap:hover { background: rgba(255,255,255,.18); } .tour-cap.is-ativo { background: #f5a623; color: #1b2a5c; font-weight: 700; }
.tour-btn-contato { background: #25d366; color: #0b3d1d; text-decoration: none; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
.tour-prog { position: fixed; top: 56px; left: 0; height: 3px; width: 100%; background: rgba(255,255,255,.12); z-index: 30; }
.tour-prog i { display: block; height: 100%; width: 0; background: #f5a623; transition: width .5s ease; }
.tour-frame { position: fixed; top: 59px; left: 0; width: 100%; height: calc(100% - 59px); border: 0; background: #fff; }
.tour-frame.is-fundo { filter: blur(3px) brightness(.55); }

.tour-spot { position: fixed; z-index: 20; border-radius: 8px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(10,18,45,.58), 0 0 0 3px #f5a623, 0 0 24px 4px rgba(245,166,35,.55); transition: opacity .25s ease; opacity: 1; }
.tour-card { position: fixed; z-index: 40; width: min(380px, calc(100vw - 24px)); background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.4); padding: 18px 20px 16px; transition: opacity .25s ease; }
.tour-card-cab { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin-bottom: 6px; }
.tour-card-cab b { color: #c77d00; }
.tour-card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; color: #1b2a5c; }
.tour-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #374151; }
.tour-acoes { display: flex; align-items: center; gap: 8px; }
.tour-acoes .sp { flex: 1; }
.tour-b { border: 0; border-radius: 7px; padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.tour-b.pri { background: #1b2a5c; color: #fff; } .tour-b.pri:hover { background: #2f56a6; }
.tour-b.sec { background: #eef1f8; color: #1b2a5c; } .tour-b:disabled { opacity: .4; cursor: default; }
.tour-link { background: none; border: 0; color: #6b7280; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px; }

.tour-tela { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(circle at 30% 20%, #2f56a6 0, #1b2a5c 45%, #0f1b3d 100%); overflow: auto; }
.tour-tela[hidden] { display: none; }
.tour-tela-in { width: min(640px, 100%); background: #fff; border-radius: 16px; padding: 34px 36px; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.tour-tela h1 { margin: 0 0 10px; font-size: 28px; color: #1b2a5c; line-height: 1.15; }
.tour-tela p.lead { font-size: 16px; line-height: 1.55; color: #374151; margin: 0 0 16px; }
.tour-tela ul { margin: 0 0 24px; padding-left: 20px; color: #4b5563; line-height: 1.8; }
.tour-tela .big { font-size: 16px; padding: 13px 26px; }
.tour-contato { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.tour-contato a { display: block; text-decoration: none; border-radius: 9px; padding: 12px 14px; font-weight: 700; font-size: 14px; text-align: center; }
.tour-contato .w { background: #25d366; color: #0b3d1d; } .tour-contato .e { background: #eef1f8; color: #1b2a5c; }
.tour-contato small { display: block; font-weight: 400; opacity: .85; margin-top: 2px; }
.tour-form { display: grid; gap: 8px; margin-top: 6px; }
.tour-form input, .tour-form textarea { border: 1px solid #cbd5e1; border-radius: 7px; padding: 10px 12px; font: inherit; font-size: 14px; width: 100%; }
.tour-form textarea { min-height: 70px; resize: vertical; }
.tour-form .lin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tour-rodape { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.tour-rodape a, .tour-rodape button { color: #2f56a6; background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; }
@media (max-width: 720px) { .tour-marca small, .tour-btn-contato { display: none; } .tour-contato, .tour-form .lin { grid-template-columns: 1fr; } .tour-tela-in { padding: 24px 20px; } }

/* troca de passo: o que sai some na hora (sem 'fantasma') e so reaparece ja no lugar certo */
.tour-spot.is-oculto, .tour-card.is-oculto { opacity: 0 !important; visibility: hidden; transition: none !important; }
.tour-spot.anima { transition: opacity .25s ease, left .4s ease, top .4s ease, width .4s ease, height .4s ease; }
.tour-card.anima { transition: opacity .25s ease, left .4s ease, top .4s ease; }
.tour-frame { transition: opacity .2s ease; } .tour-frame.is-trocando { opacity: 0; }
.tour-card ul.pontos { margin: 0 0 14px; padding-left: 18px; font-size: 14px; line-height: 1.5; color: #374151; }
.tour-card ul.pontos li { margin-bottom: 4px; }
.tour-card.is-center { width: min(520px, calc(100vw - 24px)); padding: 24px 26px 20px; }
.tour-card.is-center h2 { font-size: 22px; }

.tour-selo { background: rgba(255,255,255,.12); color: #cfd8f0; font-size: 12px; padding: 5px 10px; border-radius: 12px; white-space: nowrap; }
.tour-contato { grid-template-columns: 1fr; }
.tour-btn-contato { background: #f5a623; color: #1b2a5c; }
#cNota { color: #6b7280; font-size: 12px; max-width: 60%; text-align: right; }

.tour-dim { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(0,0,0,.78); pointer-events: none; transition: opacity .3s ease; opacity: 1; }
.tour-dim.is-oculto { opacity: 0 !important; visibility: hidden; transition: none !important; }

/* Ligação com o site Cognitiva/Gerpro */
.tour-voltar { color: inherit; opacity: .85; font: 600 .85rem/1 system-ui, sans-serif; text-decoration: none; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); white-space: nowrap; }
.tour-voltar:hover { opacity: 1; background: rgba(255,255,255,.1); }
@media (max-width: 640px) { .tour-voltar { padding: 6px 9px; font-size: .75rem; } }
.tour-marca { display: flex; align-items: center; }
.tour-marca img { height: 30px; width: auto; display: block; }
