#globeWrap{
  --globe-open-height: calc(100svh - 20px);
  --globe-closed-height: calc(40svh - 20px);

  position: relative;
  width: 100%;
  height: var(--globe-open-height);
  overflow: hidden;
  background: #000;
  transition: height 0.6s ease;
}

#globeWrap.globe-open{
  height: var(--globe-open-height);
}

#globeWrap.globe-closed{
  height: var(--globe-closed-height);
}

#globe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#globeInteractionZone{
  display: none;
}

/* .contemundo #globeWrap{
  position: relative;
  width: 100%;
  height: 350px; 
  overflow: hidden;
  background: #000;       
} */

#globe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* popup over the canvas */
#globeSide{
  position: absolute;
  top: 110px;
  right: -70px;
  transform: translateX(-50%);
  z-index: 100;

  width: min(450px, calc(100% - 40px));
  max-height: calc(100% - 140px);
  overflow: auto;

  background: #fff;
  color: #000;

  display: none;
}

#globeSide.open{
  display: block;
}

.globeSideInner{
  position: relative;
  padding: 30px 26px 0 10px;
}

.globeSideClose{
  position: absolute;
  top: 48px;
  right: 39px;
  width: 45px;
  height: 45px;
  border: 0;
  background: url('imgs/cruz_preta_v2.png') no-repeat center /cover;
  cursor: pointer;
  z-index: 999;
}

.sugestao-item-3d{
  width: 90%;
  height: 145px;
}

.sugestao-item-3d a{
  display:block;
  text-decoration:none;
}

.sugestao-card-3d{
  display:flex;
  gap:16px;
  align-items:flex-start;
  height: 145px;
}
.sugestao-card-3d:hover .sugestao-arrows-3d{
  background: url(imgs/seta_tres.png) no-repeat left center;
  background-size: contain;
  width: 50px;
}

.sugestao-thumb-3d{
  width: 145px;
  aspect-ratio: 1/1;
  flex: 0 0 120px;
}

.sugestao-text-3d{
  padding-top: 2px;
}

.sugestao-title-3d{
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 16px;
}

.sugestao-sub-3d{
  font-size: 12px;
  opacity: .95;
  margin-top: 6px;
  line-height: 14px;
}

.sugestao-arrows-3d{
  margin-top: 10px;
  width: 34px;
  height: 18px;
  background: url(imgs/seta_duas.png) no-repeat left center;
  background-size: contain;
  filter: invert(1);
}

.globeMarkers{
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.globeMarker{
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}

.globeMarker img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.globeMarker.hidden{
  display: none;
}

.maskpopup{
  mask: url('imgs/fundo_cima_preto.png') no-repeat top /cover;
  -webkit-mask: url('imgs/fundo_cima_preto.png') no-repeat top /cover;
  mask-mode: alpha;
  width: calc(100% + 96px);
  height: 130px;
  position: relative;
  bottom: 0;
  left: -40px;
  display: flex;
  align-items: flex-end;
}
.navaventuras{
  margin-bottom: 15px;
  padding: 0 39px;
  width: calc(100% - 60px);
}
.aventura-nav{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.globeZoomHint{
  position: absolute;
  left: 20px;
  top: 70px;
  z-index: 30;
  padding: 10px 14px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 10px;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.globeZoomHint span{
  opacity: .8;
  font-size: 12px;
}

.globeZoomHint.hidden{
  opacity: 0;
  transform: translateY(8px);
}

.dragWrap{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility 0s linear 0s;
}

.dragWrap.hide{
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(30px);
  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility 0s linear .35s;
}

.drag{
  animation: dragHintAnim 1.8s ease-in-out infinite;
}

.dragWrap.hide .drag{
  animation-play-state: paused;
}

@keyframes dragHintAnim {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-10px); }
  40%  { transform: translateX(10px); }
  60%  { transform: translateX(-6px); }
  80%  { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

@media only screen and (max-width: 768px){
  #globeWrap{
    --globe-open-height: 900px;
    --globe-closed-height: 450px;
  }

  #globeWrap canvas{
    touch-action: pan-y;
  }

  #globeInteractionZone{
    display: block;
    position: absolute;
    top: 125px;
    left: 0;
    width: 100%;
    height: 55%;
    z-index: 20;
    touch-action: none;
  }

  #globeSide{
    position: absolute;
    top: 20px;
    right: 0;
    transform: translateX(-20px);
    z-index: 100;
    width: min(350px, calc(100% - 40px));
    max-height: calc(100% - 140px);
    overflow: auto;
    background: #fff;
    color: #000;
    display: none;
  }

  /* #globeSide{
    position: fixed;
    top: 15px;
    right: 50%;
    transform: translateX(50%);
    z-index: 20;

    width: calc(100% - 20px);
    height: min(615px, calc(100dvh - 30px));
    max-height: min(615px, calc(100dvh - 30px));
    overflow: auto;

    background: #fff;
    color: #000;
  } */

  #globeSide.open{
    display: block;
  }

  .globeSideInner{
    position: relative;
    padding: 20px 0px 0 0px;
  }

  .globeSideClose{
    position: absolute;
    top: 42px;
    right: 16px;
    width: 45px;
    height: 45px;
    border: 0;
    background: url('imgs/cruz_preta_v2.png') no-repeat center / cover;
    cursor: pointer;
    z-index: 999;
  }

  .sugestao-item-3d{
    width: 100%;
    height: auto;
    min-height: 105px;
    margin-bottom: 14px;
  }

  .sugestao-item-3d a{
    display: block;
    text-decoration: none;
  }

  .sugestao-card-3d{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    height: auto;
    min-height: 105px;
  }

  .sugestao-card-3d:hover .sugestao-arrows-3d{
    background: url(imgs/seta_tres.png) no-repeat left center;
    background-size: contain;
    width: 38px;
  }

  .sugestao-thumb-3d{
    width: 95px;
    min-width: 95px;
    height: 95px;
    aspect-ratio: 1 / 1;
    flex: 0 0 95px;
  }

  .sugestao-text-3d{
    padding-top: 0;
    flex: 1;
    min-width: 0;
  }

  .sugestao-title-3d{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 14px;
  }

  .sugestao-sub-3d{
    font-size: 11px;
    opacity: .95;
    margin-top: 5px;
    line-height: 13px;
  }

  .sugestao-arrows-3d{
    margin-top: 8px;
    width: 28px;
    height: 14px;
    background: url(imgs/seta_duas.png) no-repeat left center;
    background-size: contain;
    filter: invert(1);
  }

  .maskpopup{
    width: calc(100% + 60px);
    height: 95px;
    position: relative;
    bottom: 0;
    left: -30px;
    display: flex;
    align-items: flex-end;

    mask: url('imgs/fundo_cima_preto.png') no-repeat top / cover;
    -webkit-mask: url('imgs/fundo_cima_preto.png') no-repeat top / cover;
    mask-mode: alpha;
  }

  .navaventuras{
    margin-bottom: 12px;
    padding: 0 18px;
    width: calc(100% - 36px) !important;
  }

  .aventura-nav{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  #globeWrap canvas{
    touch-action: pan-y;
  }

  #globeInteractionZone{
    display: block;
    position: absolute;
    top: 125px;
    left: 0;
    width: 100%;
    height: 55%;
    z-index: 20;
    touch-action: none;
  }

}

@media only screen and (max-width: 481px){
  #globeWrap{
    --globe-open-height: 700px;
    --globe-closed-height: 450px;
  }

  /* .contemundo #globeWrap{
  position: relative;
  width: 100%;
  height: 450px;         
  overflow: hidden;
  background: #000;      
} */

  #globeSide{
  position: absolute;
  top: 90px;
  right: 0;
  transform: translateX(-20px);
  z-index: 100;

  width: min(350px, calc(100% - 40px));
  max-height: calc(100% - 140px);
  overflow: auto;

  background: #fff;
  color: #000;

  display: none;
}

  /* #globeSide{
    position: fixed;
    top: 15px;
    right: 50%;
    transform: translateX(50%);
    z-index: 20;

    width: calc(100% - 20px);
    height: min(615px, calc(100dvh - 30px));
    max-height: min(615px, calc(100dvh - 30px));
    overflow: auto;

    background: #fff;
    color: #000;
  } */

  #globeSide.open{
    display: block;
  }

  .globeSideInner{
    position: relative;
    padding: 20px 0px 0 0px;
  }

  .globeSideClose{
    position: absolute;
    top: 42px;
    right: 16px;
    width: 45px;
    height: 45px;
    border: 0;
    background: url('imgs/cruz_preta_v2.png') no-repeat center / cover;
    cursor: pointer;
    z-index: 999;
  }

  .sugestao-item-3d{
    width: 100%;
    height: auto;
    min-height: 105px;
    margin-bottom: 14px;
  }

  .sugestao-item-3d a{
    display: block;
    text-decoration: none;
  }

  .sugestao-card-3d{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    height: auto;
    min-height: 105px;
  }

  .sugestao-card-3d:hover .sugestao-arrows-3d{
    background: url(imgs/seta_tres.png) no-repeat left center;
    background-size: contain;
    width: 38px;
  }

  .sugestao-thumb-3d{
    width: 95px;
    min-width: 95px;
    height: 95px;
    aspect-ratio: 1 / 1;
    flex: 0 0 95px;
  }

  .sugestao-text-3d{
    padding-top: 0;
    flex: 1;
    min-width: 0;
  }

  .sugestao-title-3d{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 14px;
  }

  .sugestao-sub-3d{
    font-size: 11px;
    opacity: .95;
    margin-top: 5px;
    line-height: 13px;
  }

  .sugestao-arrows-3d{
    margin-top: 8px;
    width: 28px;
    height: 14px;
    background: url(imgs/seta_duas.png) no-repeat left center;
    background-size: contain;
    filter: invert(1);
  }

  .maskpopup{
    width: calc(100% + 60px);
    height: 95px;
    position: relative;
    bottom: 0;
    left: -30px;
    display: flex;
    align-items: flex-end;

    mask: url('imgs/fundo_cima_preto.png') no-repeat top / cover;
    -webkit-mask: url('imgs/fundo_cima_preto.png') no-repeat top / cover;
    mask-mode: alpha;
  }

  .navaventuras{
    margin-bottom: 12px;
    padding: 0 18px;
    width: calc(100% - 36px) !important;
  }

  .aventura-nav{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
}

