.gpr-site-popup {
  font-family: var(--gpr-fonte, "Open Sans", sans-serif);
  z-index: 2300;
}

.gpr-site-popup-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2300;
  min-height: var(--gpr-popup-top-height, 44px);
  padding: 8px 48px 8px 18px;
  background: var(--gpr-popup-top-bg, #193d78);
  color: var(--gpr-popup-top-color, #fff);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  justify-content: center;
}

html.has-gpr-top-popup .gpr-cabecalho,
body:has(.gpr-site-popup-top:not(.is-hidden)) .gpr-cabecalho {
  inset: var(--gpr-popup-top-offset, 0px) 0 auto 0;
}

.gpr-site-popup-top__inner {
  width: min(100%, 1180px);
  min-height: calc(var(--gpr-popup-top-height, 44px) - 16px);
  display: flex;
  align-items: center;
  justify-content: var(--gpr-popup-top-align, flex-start);
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.35;
  font-size: 14px;
  text-align: left;
}

.gpr-site-popup-top__inner strong,
.gpr-site-popup-top__inner span,
.gpr-site-popup-top__inner p,
.gpr-site-popup-top__inner > i {
  color: inherit;
}

.gpr-site-popup-top__inner > i {
  flex: 0 0 auto;
  font-size: 1rem;
}

.gpr-site-popup-top__inner p {
  margin: 0;
}

.gpr-site-popup-top__inner a,
.gpr-site-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: var(--gpr-popup-button-radius, 3px);
  background: var(--gpr-popup-button-bg, #193d78);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .18s ease;
}

.gpr-site-popup-top__inner a {
  min-height: 34px;
  padding: 8px 14px;
  flex: 0 0 auto;
}

.gpr-site-popup-btn:hover,
.gpr-site-popup-top__inner a:hover {
  transform: translateY(-1px);
  color: #fff;
  background: #143260;
}

.gpr-site-popup-close,
.gpr-site-popup-modal__close {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: #193d78;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .15);
}

.gpr-site-popup-top > .gpr-site-popup-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .08);
  color: var(--gpr-popup-top-color, #193d78);
}

.gpr-site-popup-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100vw - 34px));
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  color: rgba(11, 18, 32, .9);
  box-shadow: 0 28px 78px rgba(8, 15, 30, .26);
}

.gpr-site-popup-banner .gpr-site-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.gpr-site-popup-banner__media {
  display: block;
  width: 100%;
  background: #0b1220;
}

.gpr-site-popup-banner__media img,
.gpr-site-popup-modal__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.gpr-site-popup-banner__media img {
  aspect-ratio: 16 / 9;
}

.gpr-site-popup-banner__body,
.gpr-site-popup-modal__body {
  padding: 20px;
}

.gpr-site-popup-title,
.gpr-site-popup-modal h2 {
  margin: 0 0 10px;
  color: #102f66;
  font-weight: 900;
  line-height: 1.12;
}

.gpr-site-popup-text {
  color: rgba(11, 18, 32, .72);
  line-height: 1.65;
}

.gpr-site-popup-text p:last-child {
  margin-bottom: 0;
}

.gpr-site-popup-text + .gpr-site-popup-btn {
  margin-top: 16px;
}

.gpr-site-popup-modal {
  z-index: 2800;
}

.gpr-site-popup-backdrop {
  z-index: 2700;
}

.gpr-site-popup-modal .modal-dialog {
  width: min(94vw, 1000px);
}

.gpr-site-popup-modal .modal-content {
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .32);
}

.gpr-site-popup-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, .94);
  color: #193d78;
}

.gpr-site-popup-modal__image {
  max-height: min(76vh, 620px);
}

.gpr-site-popup.is-hidden {
  display: none !important;
}

@media (max-width: 767.98px) {
  .gpr-site-popup-top {
    padding-right: 44px;
  }

  .gpr-site-popup-top__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .gpr-site-popup-top__inner a {
    width: 100%;
    max-width: 240px;
  }

  .gpr-site-popup-banner {
    right: 12px;
    bottom: 12px;
  }

  .gpr-site-popup-modal .modal-dialog {
    width: calc(100vw - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .gpr-site-popup-modal__close {
    top: 10px;
    right: 10px;
  }
}
