.popup {
  position: absolute;
  top: 0;
  width: 100vw;
  height: calc(100% - 170px);
  left: 0;
  z-index: 99;
  display: none;
  overflow: hidden;
}

.popup .container,
.popup .row {
  position: relative;
  height: 100%;
}
.popup div[class*="col"] {
  position: relative;
  /*max-height:60vh;*/
}

.popup .box-text {
  position: relative;
  margin: 6rem auto 0 auto;
  /*height:100%;*/
  height: calc(100% - 6rem);
}

.popup .bt-fechar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 30;
  padding: 0;
}

.popup .bt-fechar svg {
  width: 3.2rem;
  fill: #fff;
  transition: fill 250ms linear;
}

.popup .bt-fechar.bt-azul svg {
  fill: var(--moa-blue);
}

.popup .bt-fechar:hover svg {
  fill: #000;
}

/* begin: RCM */
.popup-rcm .box-text .text-rcm {
  font-size: 1.1rem;
  overflow-x: hidden;
  /*overflow-y:hidden;*/
  /* max-height:100%; */
  /*height:52rem;*/
  text-align: justify;
  padding-right: 1rem;
  line-height: 1.1;
  height: calc(100% - 90px);
}
.popup-rcm .box-text .text-rcm > .rcm-simplebar {
  /*height:calc(100vh - 36rem);*/
  height: 100%;
}

.popup-rcm.bg-azul .box-text h2,
.popup-rcm.bg-azul .box-text .text-rcm {
  color: #fff;
}
/* end: RCM */

/* begin: REFERENCIA */
.popup-rcm .box-text h2,
.popup-referencia .box-text h2 {
  font-size: 2rem;
  font-weight: 400;
  padding-top: 0.6rem;
  margin-bottom: 2.8rem;
  margin-top: 0.8rem;
}

.popup-referencia .box-text .area-scroll {
  font-size: 1.1rem;
  overflow-x: hidden;
  /* height:52rem; */
  height: calc(100% - 90px);
}
.popup-referencia .box-text .area-scroll > .referencia-simplebar {
  /*height:calc(100vh - 36rem);*/
  height: 100%;
}
.popup-referencia .box-text ol {
  padding-left: 0;
  /* font-size:1.1rem;
    overflow-x:hidden;
    overflow-y:auto;
    max-height:90%; */
  list-style-position: inside;
}

.popup-referencia.bg-azul .box-text h2,
.popup-referencia.bg-azul .box-text ol {
  color: #fff;
}
/* end: REFERENCIA */

/* begin: MENSAGEM CHAVE */
.text-in-circle {
  height: 70rem;
  position: relative;
  width: 70rem;
  margin-left: -20%;
}
.text-in-circle .circle-box {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 12% 18%;
  background-color: #fff;
  -webkit-clip-path: url(#circle-box-shape);
  clip-path: url(#circle-box-shape);
}
.text-in-circle .circle-box img {
  max-width: 40rem;
  margin-bottom: 4rem;
}
.text-in-circle .circle-box p {
  color: var(--moa-blue);
  font-size: clamp(1rem, 6vw, 1.2rem);
}

/* end: MENSAGEM CHAVE */

/* begin: DADOS & MAGNIFY */
.popup.popup-dados .swiper-dados .swiper-wrapper,
.popup.popup-magnify .swiper-magnify .swiper-wrapper {
  z-index: 40;
}
.popup.popup-dados,
.popup.popup-magnify {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.popup.popup-dados .container,
.popup.popup-dados .row,
.popup.popup-magnify .container,
.popup.popup-magnify .row {
  position: relative;
  height: unset;
}
.popup.popup-dados div[class*="col"],
.popup.popup-magnify div[class*="col"] {
  position: relative;
  max-height: unset;
}

.popup.popup-magnify h2,
.popup.popup-dados h2 {
  font-size: clamp(2.2rem, 6vw, 2.6rem);
  color: #fff;
  font-weight: 700;
  margin: 1rem 0 0 0;
  max-width: 24rem;
}

.popup.popup-magnify h3,
.popup.popup-dados h3 {
  font-size: clamp(1.2rem, 6vw, 1.4rem);
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 3rem;
}
.popup.popup-magnify p,
.popup.popup-dados p {
  font-size: clamp(1.2rem, 6vw, 1.4rem);
  color: #fff;
  margin: 0;
  max-width: calc(100% - 23rem);
}

.popup.popup-magnify .box-legenda-grid,
.popup.popup-dados .box-legenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-rows:repeat(4, 1fr); */
  /* grid-template-rows:53% 14% 10% 23%; */
  grid-template-rows: auto auto auto auto;
  justify-items: center;
  align-content: center;

  line-height: 1;

  background-color: #fff;
  border-radius: 1.4rem;
  /* padding:0 1.4rem; */
  padding: 3rem 1.4rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
}
.popup.popup-dados .box-legenda-grid span {
  text-align: center;
}
.popup.popup-dados .box-legenda-grid img.ico-leg {
  margin: 1rem 0;
}

.popup.popup-magnify .box-legenda,
.popup.popup-dados .box-legenda {
  background-color: #fff;
  border-radius: 1.4rem;
  padding: 1.4rem;
  margin-bottom: 2rem;
  width: fit-content;
  max-width: 32rem;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
}
.popup.popup-dados .box-legenda .item-legenda,
.popup.popup-magnify .box-legenda .item-legenda {
  flex: 1;
  margin: 0 0.4rem;
  color: #000;
  font-size: 0.9rem;
  line-height: 1;
}
.popup.popup-magnify .box-legenda .item-legenda img,
.popup.popup-dados .box-legenda .item-legenda img {
  display: block;
  margin: 0 auto;
}

.popup.popup-dados .container-mais-info,
.popup.popup-magnify .container-mais-info {
  position: relative;
}

.popup.popup-dados .lnk-mais-info,
.popup.popup-magnify .lnk-mais-info {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: clamp(1.2rem, 6vw, 1.8rem);
  text-decoration: underline;
  margin-bottom: 1rem;
  transition: color 250ms linear;
}

.popup.popup-dados .lnk-mais-info svg,
.popup.popup-magnify .lnk-mais-info svg {
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 1rem;
  fill: var(--moa-yellow);
  transition: fill 250ms linear;
}
.popup.popup-dados .lnk-mais-info:hover svg,
.popup.popup-magnify .lnk-mais-info:hover svg {
  fill: #fff;
}

.popup.popup-dados .box-mais-info,
.popup.popup-magnify .box-mais-info {
  position: absolute;
  z-index: 80;
  display: none;
  background-color: #383838;
  padding: 1.4rem;
  font-size: 0.9rem;
  color: #fff;
}

.popup.popup-dados .box-grafico,
.popup.popup-magnify .box-grafico {
  background-color: #fff;
  border-radius: 0 0 2rem 2rem;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  text-align: center;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
}

.popup.popup-dados .img-grafico,
.popup.popup-magnify .img-grafico {
  /* max-height:100%;
    max-width:unset;
    width:auto;
    display:block;
    margin:0 auto; */
  max-width: 80%;
  margin: 0 auto;
}

.popup.popup-dados .area-controle-dados,
.popup.popup-magnify .area-controle-dados {
  padding-bottom: 5rem;
}

.popup.popup-dados .area-controle-dados .controle-dados,
.popup.popup-magnify .area-controle-dados .controle-dados {
  padding-top: 4rem;
  width: 100%;
  max-width: 25rem;
}

.popup.popup-dados .area-controle-dados .numbers,
.popup.popup-magnify .area-controle-dados .numbers {
  display: block;
  width: 90%;
  margin-top: 4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(1.2rem, 6vw, 1.8rem);
}

.popup.popup-dados .area-controle-dados .numbers span.ativo,
.popup.popup-magnify .area-controle-dados .numbers span.ativo {
  color: var(--moa-yellow);
}

.popup.popup-dados .area-controle-dados .slider,
.popup.popup-magnify .area-controle-dados .slider {
  width: 83%;
  height: 0.2rem;
  background-color: var(--moa-orange);
  border: 0;
  position: relative;
}

.popup.popup-dados .area-controle-dados .slider::before,
.popup.popup-magnify .area-controle-dados .slider::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 106%;
  height: 0.2rem;
  top: 0;
  left: 0;
  background-color: var(--moa-orange);
}

.personalHandle {
  position: relative;
  /*height: 0 !important;
    width: 0 !important;*/
  border: none !important;
  outline: none;
  display: inline-block;
  transition: left 1s;
}
.personalHandle img {
  position: relative;
  width: 5.6rem;
  top: 0.3rem;
  transform: translate(-25%, -50%);
}
.personalHandle::after {
  content: "";
  display: block;
  position: absolute;
  top: -0.3rem;
  /* left:-1.4rem; */
  left: 0;
  width: 0;
  height: 0;
  z-index: 10;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;

  border-right: 1.2rem solid #0076aa;
}
.personalHandle::before {
  content: "";
  display: block;
  position: absolute;
  top: -0.3rem;
  /* right:-1.4rem; */
  right: -1.6rem;
  width: 0;
  height: 0;
  z-index: 10;
  border-top: 0.6rem solid transparent;
  border-bottom: 0.6rem solid transparent;

  border-left: 1.2rem solid #0076aa;
}

.popup.popup-dados .bt-fechar,
.popup.popup-magnify .bt-fechar {
  position: relative;
  margin-right: 4rem;
  margin-bottom: 2.5rem;
}

/* end: DADOS & MAGNIFY */

/* begin: MAGNIFY */
.popup.popup-magnify .box-magnify-intro {
  width: 100%;
  max-width: 80rem;
  padding: 4rem 0;
}

.popup.popup-magnify p.magnify-intro {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.2;
}
.popup.popup-magnify p.magnify-intro strong {
  color: var(--moa-yellow);
  font-weight: 600;
}
.popup.popup-magnify p.magnify-title {
  color: #fff;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 600;
  line-height: 1;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.2), -1px -2px 0 rgba(0, 0, 0, 0.2),
    1px -2px 0 rgba(0, 0, 0, 0.2), -1px 2px 0 rgba(0, 0, 0, 0.2),
    1px 2px 0 rgba(0, 0, 0, 0.2);
}
.popup.popup-magnify p.magnify-ref {
  color: #fff;
  font-size: clamp(1rem, 3vw 1.4rem);
}

.popup.popup-magnify h2 {
  font-size: clamp(1.8rem, 6vw, 2.2rem);
  max-width: unset;
}

.popup.popup-magnify p {
  max-width: unset;
}

.popup.popup-magnify .box-objetivo {
  display: flex;
  margin-top: 4rem;
}
.popup.popup-magnify .box-objetivo span {
  width: fit-content;
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 2rem 2rem 0;
  color: var(--moa-yellow);
}
.popup.popup-magnify .box-objetivo .box {
  background-color: var(--moa-yellow);
  border-radius: 1.4rem;
  padding: 2rem;
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #505050;
  font-weight: 600;
  line-height: 1.3;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.6);
}

.popup.popup-magnify .box-legenda {
  padding-top: 2.4rem;
}
.popup.popup-magnify .box-legenda .item-legenda {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.popup.popup-magnify .box-legenda .item-legenda img {
  margin: 0 1rem 0 0;
}
.popup.popup-magnify .box-legenda .leg-magnify {
  margin: 0 1rem 0 0;
  width: 2.2rem;
  height: 1.6rem;
  border-radius: 1rem;
}
.popup.popup-magnify .box-legenda .leg-magnify.leg-vermelha {
  background-color: #ce4336;
}
.popup.popup-magnify .box-legenda .leg-magnify.leg-verde {
  background-color: #7cb54e;
}

.popup.popup-magnify h2.titulo-conclusao {
  font-size: clamp(2.2rem, 7vw, 2.8rem);
  color: var(--moa-orange);
  margin: 2rem 0;
}
.popup.popup-magnify .item-conclusao {
  background-color: rgba(17, 86, 126, 0.6);
  border-radius: 1.6rem;
  padding: 4rem 2rem;
  height: 100%;
}
.popup.popup-magnify .item-conclusao .img-conclusao {
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup.popup-magnify .item-conclusao .img-conclusao img,
.popup.popup-magnify .item-conclusao .img-conclusao picture {
  width: auto;
  height: 13rem;
  max-height: 130px;
  max-width: 50%;
}
.popup.popup-magnify .item-conclusao .img-conclusao picture img {
  max-width: 100%;
}
.popup.popup-magnify .item-conclusao p {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.3rem, 3.3vw, 2rem);
  line-height: 1.2;
}
.popup.popup-magnify .item-conclusao p strong {
  font-weight: 600;
  color: var(--moa-yellow);
}
/* end: MAGNIFY */

.com-popup {
  opacity: 0 !important;
}

/* --------------- 
MEDIA QUERIES
---------------  */

@media screen and (max-width: 991.98px) {
  /* .popup .box-text{
        margin-top:0;
    } */
  .popup .box-text {
    margin-top: 0;
    height: calc(100% - 128px);
  }
  .text-in-circle {
    margin: 0 auto;
  }

  .text-in-circle .circle-box {
    width: 260%;
    height: 260%;
    padding: 16% 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .text-in-circle .circle-box img {
    margin-bottom: 6rem;
  }
}

@media screen and (max-width: 767.98px) {
  .text-in-circle {
    width: 100%;
  }
  .text-in-circle .circle-box img {
    width: 100%;
  }

  .popup.popup-dados,
  .popup.popup-magnify {
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .popup.popup-dados p,
  .popup.popup-magnify p {
    max-width: unset;
  }

  .popup.popup-magnify .box-legenda,
  .popup.popup-dados .box-legenda {
    width: 100%;
  }

  .popup.popup-magnify .item-conclusao {
    padding: 2rem;
    height: auto;
    margin-bottom: 2rem;
  }
  .popup.popup-magnify .item-conclusao .img-conclusao {
    min-height: unset;
    margin-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .popup {
    right: 0;
    left: 0;
    transform: translateX(0);
  }
  .popup .box-text {
    padding: 0 2rem;
  }

  .popup-referencia .box-text {
    margin-left: 0;
    /*width:80%;*/
  }

  .popup-mensagem .box-text {
    padding: 4rem 0 0 0;
  }

  .text-in-circle .circle-box {
    width: calc(100% + 3rem);
    height: 100%;
    padding: 9rem 6rem 6rem 6rem;
    border-top-left-radius: 50% 7rem;
    border-top-right-radius: 50% 7rem;
    -webkit-clip-path: none;
    clip-path: none;
  }

  .text-in-circle .circle-box img {
    margin-bottom: 3rem;
  }

  .popup.popup-dados .img-grafico,
  .popup.popup-magnify .img-grafico {
    max-height: unset;
    max-width: 100%;
    height: auto;
    width: unset;
  }

  .popup.popup-magnify .box-objetivo {
    display: block;
  }
  .popup.popup-magnify .box-objetivo span {
    width: unset;
  }

  .popup.popup-dados .area-controle-dados .slider,
  .popup.popup-magnify .area-controle-dados .slider {
    height: 0.14rem;
  }

  .popup.popup-dados .area-controle-dados .slider::before,
  .popup.popup-magnify .area-controle-dados .slider::before {
    height: 0.14rem;
  }

  .popup.popup-magnify .item-conclusao .img-conclusao {
    margin-bottom: 0;
  }
  .popup.popup-magnify
    .item-conclusao
    .img-conclusao.img-conclusao-horizontal
    img,
  .popup.popup-magnify
    .item-conclusao
    .img-conclusao.img-conclusao-horizontal
    picture {
    max-width: 70%;
  }
  .popup.popup-magnify
    .item-conclusao
    .img-conclusao.img-conclusao-horizontal
    picture
    img {
    max-width: 100%;
  }
}

@media (max-width: 419.98px) {
  .text-in-circle {
    height: auto;
  }
  .text-in-circle .circle-box {
    padding: 8rem 3rem 3rem 3rem;
    height: auto;
  }
  .text-in-circle .circle-box p {
    max-height: 45vh;
    overflow-y: auto;
  }
}

@media screen and (min-width: 1060px) and (min-height: 1900px) {
  .popup {
    height: calc(100% - 301px);
  }

  .popup.popup-magnify .item-conclusao {
    margin-bottom: 1rem;
    height: auto;
  }
  .popup.popup-magnify .item-conclusao .img-conclusao {
    min-height: unset;
    margin-bottom: 2rem;
  }

  .popup .box-text {
    margin-top: 1rem;
  }

  .popup-rcm .box-text,
  .popup-referencia .box-text {
    margin-left: 0;
    width: 80%;
  }

  .popup-rcm .box-text .text-rcm {
    font-size: 0.8rem;
  }

  .popup-rcm .box-text h2,
  .popup-referencia .box-text h2 {
    margin-bottom: 1.6rem;
  }

  .popup-referencia .box-text ol {
    max-height: 90%;
  }

  .text-in-circle {
    margin-left: -23%;
  }

  .popup.popup-magnify p.magnify-intro {
    font-size: 2.8rem;
  }
  .popup.popup-magnify p.magnify-title {
    font-size: 4.6rem;
    margin: 3rem 0;
  }
  .popup.popup-magnify p.magnify-ref {
    font-size: 2rem;
  }
  .popup.popup-magnify .box-objetivo {
    display: block;
  }
  .popup.popup-magnify .box-objetivo span {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
  }
  .popup.popup-magnify .box-objetivo .box {
    background-color: var(--moa-yellow);
    padding: 4rem;
    line-height: 1.8;
  }

  .popup.popup-magnify .box-legenda,
  .popup.popup-dados .box-legenda {
    max-width: 100%;
  }

  .popup.popup-dados .box-legenda .item-legenda,
  .popup.popup-magnify .box-legenda .item-legenda {
    margin: 1rem;
    font-size: 1.2rem;
  }

  .popup.popup-dados .box-mais-info,
  .popup.popup-magnify .box-mais-info {
    padding: 1.4rem;
    font-size: 1.4rem;
  }

  .popup.popup-magnify .item-conclusao {
    padding: 2rem;
  }
  .popup.popup-magnify .item-conclusao .img-conclusao {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    margin: 0 auto;
  }
  .popup.popup-magnify .item-conclusao .img-conclusao img,
  .popup.popup-magnify .item-conclusao .img-conclusao picture {
    width: auto;
    height: 13rem;
    max-height: 130px;
    max-width: 50%;
  }
  .popup.popup-magnify .item-conclusao .img-conclusao picture img {
    max-width: 100%;
  }

  .popup.popup-dados .img-grafico,
  .popup.popup-magnify .img-grafico {
    max-width: 90%;
  }

  .popup.popup-magnify .box-legenda-grid,
  .popup.popup-dados .box-legenda-grid {
    max-width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    min-height: 22rem;
  }

  .popup.popup-dados .box-legenda-grid img.ico-arvore {
    width: 8rem;
  }
  .popup.popup-dados .box-legenda-grid img.ico-leg {
    width: 4rem;
  }
  .popup.popup-dados .box-legenda-grid img.ico-leg-p {
    width: 3rem;
  }

  .popup.popup-dados .titulo-box-dados {
    display: block !important;
  }

  .popup.popup-dados .titulo-box-dados h2 {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .popup.popup-dados .titulo-box-dados p {
    max-width: 100%;
    margin-left: 0 !important;
  }
}
