.rp-diagnostic-cta-wrap{
  margin-top:54px;
}
.rp-diagnostic-cta{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);
  gap:48px;
  align-items:center;
  padding:48px 52px;
  background:#0d2e52;
  color:#fff;
  box-shadow:0 24px 60px rgba(13,46,82,.20);
  overflow:hidden;
}
.rp-diagnostic-cta:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:7px;
  background:#4ba3ff;
}
.rp-diagnostic-cta:after{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  right:-150px;
  top:-160px;
}
.rp-diagnostic-cta__content{
  position:relative;
  z-index:2;
}
.rp-diagnostic-cta__eyebrow{
  margin:0 0 13px;
  color:#a9d3ff;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.rp-diagnostic-cta h3{
  margin:0 0 17px;
  max-width:720px;
  color:#fff;
  font-family:"Newsreader",Georgia,serif;
  font-size:clamp(34px,3.5vw,50px);
  line-height:1.02;
  letter-spacing:-.025em;
  font-weight:500;
}
.rp-diagnostic-cta__lead{
  margin:0 0 15px;
  max-width:700px;
  color:#dbe7f2;
  font-size:17px;
  line-height:1.66;
}
.rp-diagnostic-cta__lead strong{color:#fff}
.rp-diagnostic-cta__stages{
  margin:0 0 25px;
  color:#9fc5e7;
  font-size:12px;
  line-height:1.5;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.rp-diagnostic-cta__stages span{padding:0 7px;color:#5e90ba}
.rp-diagnostic-cta__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:13px 22px;
  background:#fff;
  color:#0d2e52!important;
  text-decoration:none!important;
  font-size:13px;
  font-weight:800;
  letter-spacing:.01em;
  transition:transform .15s ease,background .15s ease;
}
.rp-diagnostic-cta__button:hover{
  background:#eef5fb;
  color:#0a2746!important;
  transform:translateY(-1px);
}
.rp-diagnostic-cta__note{
  margin:13px 0 0;
  color:#93abc0;
  font-size:11px;
  line-height:1.5;
}

.rp-diagnostic-book{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  filter:drop-shadow(0 20px 24px rgba(0,0,0,.28));
  transform:rotate(1.5deg);
}
.rp-diagnostic-book__cover{
  position:relative;
  width:245px;
  min-height:324px;
  padding:30px 25px 24px 39px;
  display:flex;
  flex-direction:column;
  background:#f7f5ef;
  color:#163f6b;
  border:1px solid rgba(255,255,255,.55);
}
.rp-diagnostic-book__spine{
  position:absolute;
  z-index:3;
  left:calc(50% - 123px);
  top:0;
  bottom:0;
  width:24px;
  background:#123f6c;
  box-shadow:inset -5px 0 8px rgba(0,0,0,.10);
}
.rp-diagnostic-book__cover:after{
  content:"";
  position:absolute;
  right:-8px;
  bottom:-8px;
  width:92%;
  height:92%;
  border-right:8px solid #e7e3da;
  border-bottom:8px solid #ded9ce;
  z-index:-1;
}
.rp-diagnostic-book__kicker{
  font-size:8px;
  line-height:1.35;
  letter-spacing:.12em;
  font-weight:800;
  margin-bottom:38px;
}
.rp-diagnostic-book__cover strong{
  font-family:"Newsreader",Georgia,serif;
  font-size:30px;
  line-height:.98;
  font-weight:600;
  letter-spacing:-.02em;
  margin-bottom:28px;
}
.rp-diagnostic-book__sub{
  font-size:11px;
  line-height:1.45;
  color:#355b7e;
}
.rp-diagnostic-book__pages{
  margin-top:auto;
  display:inline-flex;
  align-self:flex-start;
  padding:7px 9px;
  background:#163f6b;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.rp-diagnostic-book__brand{
  margin-top:15px;
  font-family:Georgia,serif;
  font-size:12px;
  line-height:1;
  font-weight:700;
  letter-spacing:.06em;
}

/* O tema esconde o menu principal abaixo de 980 px. Este atalho mantém o diagnóstico visível no cabeçalho móvel. */
.rp-mobile-diagnostic-link{display:none}

@media(max-width:980px){
  .rp-diagnostic-cta{
    grid-template-columns:minmax(0,1fr) 210px;
    gap:30px;
    padding:42px 38px;
  }
  .rp-diagnostic-book__cover{width:205px;min-height:276px;padding:25px 20px 20px 33px}
  .rp-diagnostic-book__spine{left:calc(50% - 103px);width:21px}
  .rp-diagnostic-book__cover strong{font-size:25px;margin-bottom:23px}

  .rp-mobile-diagnostic-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 13px;
    margin-left:auto;
    background:#143f70;
    color:#fff!important;
    text-decoration:none!important;
    font-size:11px;
    line-height:1;
    font-weight:800;
    letter-spacing:.03em;
    white-space:nowrap;
  }
  .rp-mobile-diagnostic-link:hover{background:#0d2e52}
}

@media(max-width:700px){
  .rp-diagnostic-cta-wrap{
    width:100%!important;
    max-width:none!important;
    margin-top:42px;
    padding:0!important;
  }
  .rp-diagnostic-cta{
    grid-template-columns:1fr;
    gap:30px;
    padding:38px 24px 35px;
    box-shadow:none;
  }
  .rp-diagnostic-cta h3{font-size:34px}
  .rp-diagnostic-cta__lead{font-size:16px}
  .rp-diagnostic-cta__button{width:100%;box-sizing:border-box;min-height:54px;text-align:center}
  .rp-diagnostic-book{justify-content:flex-start;margin-left:13px;transform:rotate(0)}
  .rp-diagnostic-book__cover{width:188px;min-height:250px}
  .rp-diagnostic-book__spine{left:0;width:19px}
  .rp-diagnostic-book__cover strong{font-size:23px}
  .rp-mobile-diagnostic-link{padding:8px 11px;font-size:10px}
}
