html, body {
    touch-action: pan-x pan-y; /* Permite arrastar, mas bloqueia o gesto de zoom nativo */
    -webkit-text-size-adjust: 100%; /* Impede o iOS de aumentar o texto sozinho */
    overscroll-behavior: none; /* Evita aquele efeito de "mola" ao chegar no topo/fundo */
}








:root {
    /* VARIÁVEIS DE CORES (MODO ESCURO - PADRÃO) */
    --intro-bg: rgba(15, 15, 15, 0.85);
    --intro-text: #ffffff;
    --intro-subtext: rgba(255, 255, 255, 0.8);
    --intro-card: rgba(255, 255, 255, 0.05);
    --intro-border: rgba(223, 104, 0, 0.3);
    --primary-orange: #DF6800; /* Cor Olho360 */
}

/* DETECÇÃO DE MODO CLARO (LIGHT MODE) */
@media (prefers-color-scheme: light) {
    :root {
        --intro-bg: rgba(245, 245, 245, 0.9);
        --intro-text: #1a1a1a;
        --intro-subtext: rgba(0, 0, 0, 0.7);
        --intro-card: rgba(0, 0, 0, 0.05);
        --intro-border: rgba(223, 104, 0, 0.2);
    }
}

.tour-intro-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tour-intro-box {
    background: var(--intro-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--intro-border);
    color: var(--intro-text);
    padding: 20px 35px; /* Altura reduzida para Desktop */
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.tour-intro-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.intro-grid {
    display: grid;
    gap: 10px;
}

.intro-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--intro-card);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.intro-item:hover {
    border-color: var(--primary-orange);
}

/* Espaço do Ícone - Fácil de trocar */
.intro-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-orange);
    fill: none;
    stroke-width: 2;
}

.intro-content b {
    display: block;
    color: var(--primary-orange);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--intro-subtext);
    line-height: 1.2;
}

.intro-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .tour-intro-box {
        max-width: 95%; /* Mais largo no mobile */
        padding: 15px 15px; /* Menos altura no mobile */
    }
    .intro-item { padding: 8px 12px; }
    .desktop-only { display: none !important; }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}












/* ===== PIXP_VW2 · loading moderno OlhoPro ===== */
.loading{ box-shadow:inset 0 0 160px 40px rgba(0,0,0,.5) !important; }
/* donut nativo some APENAS no loading inicial · em transicao de sala segue como spinner nativo */
.loading:not(.hidden) .progress-circle{ display:none !important; }
/* bloco logo+nome+autor: sai do rodape colado · vira coluna central (respeita hide_loading) */
.loading .progress:not(.hidden){
  position:absolute !important; left:50% !important; bottom:auto !important;
  top:calc(50% + 30px) !important; transform:translateX(-50%) !important;
  width:auto !important; max-width:88vw !important;
  display:flex !important; flex-direction:column !important; align-items:center !important;
  text-align:center !important; gap:8px !important; z-index:1000 !important;
}
.loading .progress:not(.hidden) img{ max-height:130px !important; max-width:200px !important; object-fit:contain; filter:drop-shadow(0 6px 24px rgba(0,0,0,.45)); animation:pixpFadeIn .8s ease both; }
#name_virtualtour{ font-size:clamp(20px,4vw,30px) !important; font-weight:700 !important; letter-spacing:.5px !important; text-shadow:0 2px 18px rgba(0,0,0,.5); margin:0 !important; }
#author_virtualtour{ font-size:11px !important; font-weight:400 !important; letter-spacing:2.5px !important; text-transform:uppercase !important; opacity:.75; margin:0 !important; }
/* play de vidro · hover com o translate nativo preservado */
#icon_play{
  width:76px !important; height:76px !important; line-height:76px !important; font-size:26px !important;
  border-radius:50% !important; background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.3) !important;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  box-shadow:0 10px 36px rgba(0,0,0,.4) !important;
  transition:transform .2s ease, background .2s ease !important;
}
#icon_play:hover{ transform:translate(-50%,-50%) scale(1.06) !important; background:rgba(14,122,196,.9) !important; }
/* barra moderna · gradiente + sweep + contador */
.pixp-vw2-wrap{ display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:14px; width:260px; max-width:70vw; }
.pixp-vw2-bar{ position:relative; width:100%; height:4px; border-radius:99px; background:rgba(255,255,255,.14); overflow:hidden; box-shadow:0 0 14px rgba(14,122,196,.45); }
.pixp-vw2-fill{ position:absolute; top:0; left:0; bottom:0; width:0%; border-radius:99px; background:linear-gradient(90deg,#0e7ac4,#38bdf8); transition:width .3s ease; }
.pixp-vw2-sweep{ position:absolute; top:0; left:0; right:0; bottom:0; border-radius:99px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent); transform:translateX(-100%); animation:pixpSweep 1.8s ease-in-out infinite; }
.pixp-vw2-pct{ font-size:13px; font-weight:600; letter-spacing:1.5px; opacity:.9; font-variant-numeric:tabular-nums; min-height:16px; }
.pixp-vw2-msg{ font-size:12px; opacity:.7; letter-spacing:.4px; min-height:14px; max-width:100%; }
.pixp-indet .pixp-vw2-fill{ display:none; }
.pixp-indet .pixp-vw2-pct{ visibility:hidden; }
@keyframes pixpSweep{ 55%,100%{ transform:translateX(100%); } }
@keyframes pixpFadeIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
/* ===== PIXP_VW3 · presenca visual · escala maior ===== */
.loading .progress:not(.hidden){ gap:14px !important; top:calc(50% + 40px) !important; }
.loading .progress:not(.hidden) img{ max-height:220px !important; max-width:320px !important; }
#name_virtualtour{ font-size:clamp(26px,5vw,44px) !important; }
#author_virtualtour{ font-size:13px !important; letter-spacing:3px !important; }
#icon_play{ width:92px !important; height:92px !important; line-height:92px !important; font-size:32px !important; }
.pixp-vw2-wrap{ width:360px !important; margin-top:20px !important; gap:8px !important; }
.pixp-vw2-bar{ height:5px !important; }
.pixp-vw2-pct{ font-size:15px !important; }
.pixp-vw2-msg{ font-size:13px !important; }
/* ===== PIXP_VW4 ===== */
/* barra invisivel por padrao · so acorda com .pixp-on */
.pixp-vw2-wrap{ visibility:hidden; }
.pixp-vw2-wrap.pixp-on{ visibility:visible; }
/* nome do tour nunca estoura a tela */
#name_virtualtour{ max-width:80vw !important; word-wrap:break-word !important; overflow-wrap:break-word !important; white-space:normal !important; line-height:1.2 !important; font-size:clamp(22px,4vw,40px) !important; }
#author_virtualtour{ max-width:80vw !important; word-wrap:break-word !important; }
/* logo da plataforma · fim da tela · sempre presente */
#pixp-brandbar{ position:fixed; bottom:18px; left:50%; transform:translateX(-50%); z-index:1500; opacity:.55; transition:opacity .25s ease; }
#pixp-brandbar:hover{ opacity:.95; }
#pixp-brandbar img{ height:34px; width:auto; display:block; }
/* play premium · anel luminoso + pulso convidativo */
#icon_play{
  background:rgba(14,122,196,.22) !important;
  border:1px solid rgba(56,189,248,.5) !important;
  box-shadow:0 0 0 0 rgba(56,189,248,.35), 0 14px 44px rgba(0,0,0,.45) !important;
  animation:pixpPulse 2.6s ease-out infinite;
}
#icon_play:hover{ transform:translate(-50%,-50%) scale(1.07) !important; background:rgba(14,122,196,.85) !important; box-shadow:0 0 0 14px rgba(56,189,248,0), 0 14px 54px rgba(0,0,0,.5) !important; animation:none; }
@keyframes pixpPulse{
  0%{ box-shadow:0 0 0 0 rgba(56,189,248,.35), 0 14px 44px rgba(0,0,0,.45); }
  70%{ box-shadow:0 0 0 18px rgba(56,189,248,0), 0 14px 44px rgba(0,0,0,.45); }
  100%{ box-shadow:0 0 0 0 rgba(56,189,248,0), 0 14px 44px rgba(0,0,0,.45); }
}
/* ===== PIXP_VW5 · nome blindado nos 2 eixos + wrap sem fantasma de espaco ===== */
.pixp-vw2-wrap{ display:none !important; width:min(70vw,340px) !important; }
.pixp-vw2-wrap.pixp-on{ display:flex !important; }
.loading .progress:not(.hidden){
  width:min(88vw,640px) !important; max-width:min(88vw,640px) !important;
  box-sizing:border-box !important; padding:0 10px !important;
  top:calc(50% + 20px) !important;
}
#name_virtualtour{
  max-width:100% !important;
  font-size:clamp(20px, min(4vw, 4.2vh), 34px) !important;
  line-height:1.25 !important;
  overflow-wrap:anywhere !important; word-break:break-word !important;
  hyphens:auto !important; white-space:normal !important;
}
.loading .progress:not(.hidden) img{ max-height:clamp(120px, 20vh, 200px) !important; }
#author_virtualtour{ font-size:clamp(11px, 1.6vh, 13px) !important; }
/* ===== PIXP_VW7 · brand com moldura branca (legivel em qualquer fundo) ===== */
#pixp-brandbar{
  background:#ffffff !important;
  border-radius:10px !important;
  padding:8px 14px !important;
  box-shadow:0 4px 18px rgba(0,0,0,.35) !important;
}
#pixp-brandbar img{ height:30px !important; }
/* ===== PIXP_VW8 · circulo de progresso no lugar do donut original ===== */
.pixp-vw2-bar, .pixp-vw2-pct{ display:none !important; }
.pixp-vw2-wrap{
  position:absolute !important;
  top:calc(50% - 90px) !important;
  left:50% !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  width:auto !important;
  display:none !important;
  flex-direction:column !important;
  align-items:center !important;
  gap:10px !important;
}
.pixp-vw2-wrap.pixp-on{ display:flex !important; }
.pixp-vw2-ringbox{ position:relative; width:112px; height:112px; }
.pixp-vw2-ring{
  width:112px; height:112px; border-radius:50%;
  background:conic-gradient(#0e7ac4 calc(var(--p,0)*1%), rgba(255,255,255,.14) 0);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask:radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  filter:drop-shadow(0 0 14px rgba(14,122,196,.5));
}
.pixp-vw2-ringpct{
  position:absolute; top:0; left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:center;
  font-size:21px; font-weight:700; letter-spacing:1px;
  font-variant-numeric:tabular-nums; text-shadow:0 2px 10px rgba(0,0,0,.45);
}
.pixp-indet .pixp-vw2-ringbox{ animation:pixpSpin 1.1s linear infinite; }
.pixp-indet .pixp-vw2-ring{ background:conic-gradient(#38bdf8 0 28%, rgba(255,255,255,.12) 28% 100%); }
.pixp-indet .pixp-vw2-ringpct{ visibility:hidden; }
@keyframes pixpSpin{ to{ transform:rotate(360deg); } }
/* brand fora da rota dos creditos · canto inferior direito */
#pixp-brandbar{ left:auto !important; right:16px !important; bottom:16px !important; transform:none !important; }
/* ===== PIXP_VW9 · moldura branca do brand + anel no topo ===== */
#pixp-brandbar{
  background:#ffffff !important;
  border-radius:10px !important;
  padding:8px 14px !important;
  box-shadow:0 4px 18px rgba(0,0,0,.35) !important;
}
#pixp-brandbar img{ height:30px !important; }
.pixp-vw2-wrap{ z-index:1000 !important; }
/* ===== PIXP_VW10 · escala compacta ===== */
.loading .progress:not(.hidden){ gap:10px !important; top:calc(50% + 10px) !important; }
.loading .progress:not(.hidden) img{ max-height:clamp(80px, 13vh, 130px) !important; max-width:200px !important; }
#name_virtualtour{ font-size:clamp(16px, min(3vw, 3vh), 24px) !important; }
#author_virtualtour{ font-size:clamp(10px, 1.3vh, 11px) !important; letter-spacing:2px !important; }
/* ===== PIXP_VW12 · anel percentual limpo · sem textos ===== */
.pixp-vw2-msg{ display:none !important; }
.pixp-vw2-ringbox{ width:124px !important; height:124px !important; }
.pixp-vw2-ring{ width:124px !important; height:124px !important; }
.pixp-vw2-ringpct{ font-size:24px !important; font-weight:800 !important; }
.pixp-indet .pixp-vw2-ringpct{ visibility:visible !important; }
.pixp-indet .pixp-vw2-ringpct::after{ content:'' !important; }
/* ===== PIXP_VW14 · cockpit premium ===== */
/* ticks de radar girando ao redor */
.pixp-vw2-ringbox::before{
  content:''; position:absolute; inset:-16px; border-radius:50%;
  background:repeating-conic-gradient(rgba(255,255,255,.30) 0 1.2deg, transparent 1.2deg 15deg);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  mask:radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
  opacity:.55; animation:pixpTicks 46s linear infinite;
}
/* arco interno contrarrotante (movimento secundario) */
.pixp-vw2-ringbox::after{
  content:''; position:absolute; inset:19px; border-radius:50%;
  background:conic-gradient(transparent 0 68%, rgba(56,189,248,.65) 76% 87%, transparent 87% 100%);
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask:radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation:pixpInner 7s linear infinite reverse; opacity:.8;
}
/* dot luminoso na ponta do progresso (rotacionado pelo espelho JS) */
.pixp-vw2-ringhead{ position:absolute; inset:0; pointer-events:none; }
.pixp-vw2-ringhead::before{
  content:''; position:absolute; top:-4.5px; left:50%; margin-left:-5.5px;
  width:11px; height:11px; border-radius:50%;
  background:#eaf6ff;
  box-shadow:0 0 10px 3px rgba(56,189,248,.95), 0 0 28px 9px rgba(14,122,196,.45);
}
/* anel principal: brilho duplo */
.pixp-vw2-ring{ filter:drop-shadow(0 0 9px rgba(56,189,248,.55)) drop-shadow(0 0 22px rgba(14,122,196,.25)); }
.pixp-vw2-ringpct{ font-size:27px !important; font-weight:800 !important; text-shadow:0 0 18px rgba(56,189,248,.5), 0 2px 8px rgba(0,0,0,.4); }
/* entrada com bounce discreto (o spin do indet e mais especifico e vence quando ativa) */
.pixp-vw2-ringbox{ animation:pixpRingIn .55s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes pixpTicks{ to{ transform:rotate(360deg); } }
@keyframes pixpInner{ to{ transform:rotate(360deg); } }
@keyframes pixpRingIn{ from{ opacity:0; transform:scale(.82); } to{ opacity:1; transform:scale(1); } }
/* ===== PIXP_VW21 · modal de anuncio premium ===== */
.fancybox-is-open .fancybox-bg{ background:rgba(8,12,20,.78) !important; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
#announce_div{
  background:#ffffff !important;
  border-radius:16px !important;
  padding:10px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.5), 0 6px 20px rgba(0,0,0,.35) !important;
  max-width:min(88vw, 720px) !important;
}
#announce_div > a{ display:block; border-radius:12px; overflow:hidden; line-height:0; }
#announce_div img{ max-width:100%; height:auto; border-radius:12px; }
.fancybox-is-open .fancybox-infobar{ display:none !important; }
.fancybox-is-open .fancybox-button--zoom,
.fancybox-is-open .fancybox-button--play,
.fancybox-is-open .fancybox-button--thumbs{ display:none !important; }
#announce_div br{ display:none; }
#announce_close_ad{
  display:inline-flex !important; align-items:center; gap:8px;
  margin-top:12px;
  background:rgba(255,255,255,.10) !important;
  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:999px !important;
  padding:9px 22px !important;
  color:#eef4fb !important;
  font-size:14px !important; font-weight:600; letter-spacing:.4px;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  box-shadow:0 6px 22px rgba(0,0,0,.35) !important;
  transition:background .2s ease, border-color .2s ease !important;
}
#announce_close_ad:hover{ background:rgba(14,122,196,.85) !important; border-color:rgba(56,189,248,.7) !important; }
#announce_close_ad i{ color:inherit; }
/* ===== PIXP_VW22 · pular azul solido · X morto no anuncio ===== */
#announce_close_ad{
  background:linear-gradient(180deg,#0e7ac4,#0b62a0) !important;
  border:0 !important;
  color:#ffffff !important;
}
#announce_close_ad:hover{ background:linear-gradient(180deg,#38bdf8,#0e7ac4) !important; }
#announce_close_ad i{ color:#ffffff !important; }
.fancybox-is-open:has(#announce_div) .fancybox-button--close{ display:none !important; }

/* ===== PIXP_VW23 · loading do anuncio (enquanto a imagem baixa) ===== */
#announce_div .pixp-adload{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; min-height:180px; min-width:260px;
  color:#5a6b85; font-size:13.5px; font-weight:600; letter-spacing:.4px;
}
#announce_div .pixp-adload .spin{
  width:34px; height:34px; border-radius:50%;
  border:3px solid #dbe6f3; border-top-color:#0e7ac4;
  animation:pixpAdSpin .9s linear infinite;
}
@keyframes pixpAdSpin{ to{ transform:rotate(360deg); } }
#announce_div .pixp-adimg{ opacity:0; transition:opacity .35s ease; }
#announce_div .pixp-adimg.pixp-on{ opacity:1; }

/* ===== PIXP_VW24 · badge anuncio · X morto via classe marcadora ===== */
#announce_div .pixp-adbadge{
  position:absolute; top:14px; left:14px; z-index:5;
  background:rgba(15,23,36,.78); color:#fff;
  font-size:10.5px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase;
  padding:5px 11px; border-radius:999px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  pointer-events:none;
}
/* cartao precisa de contexto para a badge */
#announce_div{ position:relative; }
/* X morto no container marcado (a classe entra por JS quando anuncio abre) */
.fancybox-container.pixp-ad .fancybox-button--close{ display:none !important; }

/* ===== PIXP_VW24 · badge anuncio · X morto via classe marcadora ===== */
#announce_div .pixp-adbadge{
  position:absolute; top:14px; left:14px; z-index:5;
  background:rgba(15,23,36,.78); color:#fff;
  font-size:10.5px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase;
  padding:5px 11px; border-radius:999px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  pointer-events:none;
}
/* cartao precisa de contexto para a badge */
#announce_div{ position:relative; }
/* X morto no container marcado (a classe entra por JS quando anuncio abre) */
.fancybox-container.pixp-ad .fancybox-button--close{ display:none !important; }

/* ===== PIXP_VW26 · cronometro do anuncio ===== */
#announce_div .pixp-adchrono{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:52px; padding:9px 12px; margin-top:12px; margin-left:10px;
  background:rgba(15,23,36,.78) !important;
  color:#fff !important;
  font-size:14px !important; font-weight:600;
  font-variant-numeric:tabular-nums; letter-spacing:.5px;
  border-radius:999px !important;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
#announce_div .pixp-adchrono::before{
  content:''; display:inline-block; width:7px; height:7px; margin-right:7px;
  border-radius:50%; background:#38bdf8;
  box-shadow:0 0 8px rgba(56,189,248,.9);
  animation:pixpChrono 1s ease-in-out infinite;
}
@keyframes pixpChrono{ 50%{ opacity:.35; } }

/* ===== PIXP_VW27 · cronometro overlay no canto do video ===== */
#announce_div .pixp-adchrono{
  position:absolute !important; right:10px; bottom:10px; z-index:6;
  display:inline-flex; align-items:center;
  padding:4px 9px;
  background:rgba(15,23,36,.72) !important;
  color:#fff !important;
  font-size:11.5px !important; font-weight:600;
  font-variant-numeric:tabular-nums; letter-spacing:.4px;
  border-radius:8px !important;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  pointer-events:none;
}
#announce_div .pixp-adchrono::before{
  content:''; display:inline-block; width:5px; height:5px; margin-right:6px;
  border-radius:50%; background:#38bdf8;
  box-shadow:0 0 6px rgba(56,189,248,.9);
  animation:pixpChrono27 1s ease-in-out infinite;
}
@keyframes pixpChrono27{ 50%{ opacity:.35; } }
/* o link do anuncio vira ancora do overlay */
#announce_div > a{ position:relative; }
