.rtpd-pop-hero {
    padding: clamp(48px, 7vw, 86px) 0;
}

.rtpd-pop-hero .rtpd-hero__inner {
    grid-template-columns: minmax(0, 980px);
}

.rtpd-pop-hero h1 {
    max-width: 980px;
    text-wrap: balance;
}

.rtpd-pop-hero .rtpd-hero__lead {
    max-width: 860px;
}

.rtpd-pop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(30px, 5vw, 56px);
    align-items: start;
}

.rtpd-pop-content {
    max-width: 840px;
    color: #25324a;
    font-size: 1.02rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.rtpd-pop-content > :first-child {
    margin-top: 0;
}

.rtpd-pop-content h2,
.rtpd-pop-content h3,
.rtpd-pop-content h4,
.rtpd-pop-content h5,
.rtpd-pop-content h6 {
    margin: 2rem 0 0.75rem;
    color: #10244d;
    line-height: 1.28;
}

.rtpd-pop-content h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.rtpd-pop-content h3 {
    font-size: clamp(1.22rem, 1.8vw, 1.5rem);
}

.rtpd-pop-content p,
.rtpd-pop-content ul,
.rtpd-pop-content ol,
.rtpd-pop-content dl,
.rtpd-pop-content blockquote,
.rtpd-pop-content figure,
.rtpd-pop-content table {
    margin: 0 0 1.15rem;
}

.rtpd-pop-content ul,
.rtpd-pop-content ol {
    padding-left: 1.4rem;
}

.rtpd-pop-content li {
    margin-bottom: 0.45rem;
}

.rtpd-pop-content a {
    color: #1351b4;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.rtpd-pop-content a:hover {
    color: #0b357d;
}

.rtpd-pop-content strong,
.rtpd-pop-content b {
    color: #10244d;
}

.rtpd-pop-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 36, 77, 0.12);
}

.rtpd-pop-content figure {
    margin: 1.5rem 0;
}

.rtpd-pop-content figcaption,
.rtpd-pop-content caption {
    margin-top: 0.5rem;
    color: #667085;
    font-size: 0.9rem;
    text-align: center;
}

.rtpd-pop-content blockquote {
    padding: 1rem 1.2rem;
    border-left: 4px solid #f4b400;
    background: #f7f9fc;
    color: #344054;
}

.rtpd-pop-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.rtpd-pop-content th,
.rtpd-pop-content td {
    padding: 0.75rem;
    border: 1px solid #d9e1ee;
    vertical-align: top;
    text-align: left;
}

.rtpd-pop-content th {
    background: #edf3fb;
    color: #10244d;
}

.rtpd-pop-content iframe,
.rtpd-pop-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 12px;
}

.rtpd-pop-content pre {
    overflow-x: auto;
    padding: 1rem;
    border-radius: 10px;
    background: #10244d;
    color: #f8fafc;
}

.rtpd-pop-content code {
    padding: 0.12em 0.35em;
    border-radius: 4px;
    background: #edf3fb;
    color: #10244d;
    font-size: 0.92em;
}

.rtpd-pop-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.rtpd-pop-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #d9e1ee;
}

.rtpd-pop-aside {
    position: sticky;
    top: 112px;
}

.rtpd-pop-cta {
    padding: 1.35rem;
}

.rtpd-pop-cta h2 {
    margin: 0.15rem 0 0.6rem;
    font-size: 1.35rem;
    color: #10244d;
}

.rtpd-pop-cta p {
    color: #475467;
}

.rtpd-pop-cta__price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.9rem 0 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 10px;
    background: #f0f6ff;
}

.rtpd-pop-cta__price small {
    color: #475467;
}

.rtpd-pop-cta__price strong {
    color: #10244d;
    font-size: 1.65rem;
}

.rtpd-pop-cta .rtpd-btn + .rtpd-btn {
    margin-top: 0.6rem;
}

.rtpd-pop-cta .rtpd-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    line-height: 1.5;
}

.rtpd-pop-post .rtpd-pop-content > p:first-of-type {
    font-size: 1.08rem;
}

@media (max-width: 980px) {
    .rtpd-pop-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rtpd-pop-aside {
        position: static;
    }

    .rtpd-pop-content {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .rtpd-pop-hero {
        padding: 36px 0 42px;
    }

    .rtpd-pop-content {
        font-size: 1rem;
    }

    .rtpd-pop-content h2 {
        margin-top: 1.65rem;
    }

    .rtpd-pop-content img {
        border-radius: 8px;
    }
}

/* Camada editorial e institucional de Soluções */
.rtpd-solutions-hero .rtpd-hero__inner {
    grid-template-columns: minmax(0, 940px);
}

.rtpd-solutions-hero--home .rtpd-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, .72fr);
    gap: clamp(32px, 5vw, 64px);
}

.rtpd-solutions-hero__copy {
    min-width: 0;
}

.rtpd-solutions-hero h1 {
    max-width: 22ch;
    text-wrap: balance;
}

.rtpd-solutions-hero .rtpd-hero__lead {
    max-width: 66ch;
}

.rtpd-btn--on-dark,
.rtpd-btn--on-dark:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .48);
}

.rtpd-btn--on-dark:hover {
    background: rgba(255, 255, 255, .1);
}

.rtpd-solutions-hero__panel {
    position: relative;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    color: #10244d;
    box-shadow: 0 28px 65px rgba(0, 15, 45, .3);
}

.rtpd-solutions-hero__panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #ffcd07, #f3ae00);
}

.rtpd-solutions-hero__panel .rtpd-kicker {
    margin-bottom: 10px;
}

.rtpd-solutions-hero__panel h2 {
    margin-bottom: 22px;
    color: #071d41;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    text-wrap: balance;
}

.rtpd-solutions-hero__panel ul {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rtpd-solutions-hero__panel li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.rtpd-solutions-hero__panel li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #e8f0fb;
    color: #1351b4;
}

.rtpd-solutions-hero__panel strong,
.rtpd-solutions-hero__panel small {
    display: block;
}

.rtpd-solutions-hero__panel strong {
    margin-bottom: 2px;
    color: #071d41;
    font-size: .97rem;
}

.rtpd-solutions-hero__panel small {
    color: #5c6679;
    font-size: .82rem;
    line-height: 1.45;
}

.rtpd-solutions-trust {
    background: #fff;
    border-bottom: 1px solid #d9e1ee;
}

.rtpd-solutions-trust .rtpd-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rtpd-solutions-trust span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 21px 18px;
    color: #25324a;
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
}

.rtpd-solutions-trust span + span {
    border-left: 1px solid #e3e8f0;
}

.rtpd-solutions-trust .rtpd-icon {
    color: #1351b4;
}

#rs4-produtos,
#rs4-sob-medida,
#rs4-duvidas {
    scroll-margin-top: 104px;
}

.rtpd-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.rtpd-solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: clamp(24px, 3vw, 32px);
    overflow: hidden;
    border: 1px solid #d9e1ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(16, 36, 77, .08);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rtpd-solution-card:hover {
    transform: translateY(-4px);
    border-color: #b8c9e8;
    box-shadow: 0 20px 44px rgba(16, 36, 77, .14);
}

.rtpd-solution-card--featured {
    border-color: #9bb7df;
    background: linear-gradient(155deg, #f9fbff 0%, #edf4ff 100%);
}

.rtpd-solution-card--featured::after {
    content: "Mais flexível";
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dce9fb;
    color: #0b357d;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rtpd-solution-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 15px;
    background: #e8f0fb;
    color: #1351b4;
}

.rtpd-solution-card__icon .rtpd-icon {
    width: 27px;
    height: 27px;
}

.rtpd-solution-card__tag {
    margin-bottom: 7px;
    color: #1351b4;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rtpd-solution-card h3 {
    margin-bottom: 11px;
    color: #071d41;
    font-size: clamp(1.2rem, 1.8vw, 1.42rem);
}

.rtpd-solution-card > p:not(.rtpd-solution-card__tag) {
    flex: 1;
    margin-bottom: 22px;
    color: #536075;
    font-size: .94rem;
}

.rtpd-solution-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1351b4;
    font-weight: 800;
    text-decoration: none;
}

.rtpd-solution-card > a:hover {
    color: #0b357d;
    text-decoration: underline;
}

.rtpd-solutions-process {
    background:
        radial-gradient(circle at 90% 10%, rgba(19, 81, 180, .1), transparent 28rem),
        #f3f7fc;
}

.rtpd-solutions-process__layout {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(36px, 7vw, 88px);
    align-items: center;
}

.rtpd-solutions-process__copy h2 {
    margin-bottom: 16px;
    color: #071d41;
    text-wrap: balance;
}

.rtpd-solutions-process__copy p {
    max-width: 58ch;
    margin-bottom: 24px;
    color: #536075;
}

.rtpd-solutions-process__steps {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: none;
}

.rtpd-solutions-process__steps li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 17px;
    padding: 20px;
    border: 1px solid #d6e0ef;
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 24px rgba(16, 36, 77, .06);
}

.rtpd-solutions-process__steps li > span {
    color: #1351b4;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.2;
}

.rtpd-solutions-process__steps strong {
    display: block;
    margin-bottom: 3px;
    color: #071d41;
}

.rtpd-solutions-process__steps p {
    margin: 0;
    color: #5c6679;
    font-size: .91rem;
}

.rtpd-solutions-faq details {
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(16, 36, 77, .05);
}

.rtpd-solutions-final {
    padding: clamp(46px, 7vw, 74px) 0;
    background: linear-gradient(125deg, #071d41, #0b357d 56%, #1351b4);
    color: #fff;
}

.rtpd-solutions-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.rtpd-solutions-final h2 {
    max-width: 24ch;
    margin-bottom: 8px;
    color: #fff;
    text-wrap: balance;
}

.rtpd-solutions-final p {
    max-width: 64ch;
    margin-bottom: 0;
    color: #cfdbed;
}

.rtpd-solutions-final .rtpd-kicker {
    color: #ffda43;
}

/* Conteúdo migrado: ritmo, legibilidade e CTAs */
.rtpd-solutions-content-section {
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.rtpd-pop-layout {
    grid-template-areas: "content aside";
}

.rtpd-pop-content {
    grid-area: content;
    min-width: 0;
}

.rtpd-pop-aside {
    grid-area: aside;
    min-width: 0;
}

.rtpd-pop-content h2 {
    padding-bottom: .55rem;
    border-bottom: 1px solid #e3e8f0;
    text-wrap: balance;
    scroll-margin-top: 112px;
}

.rtpd-pop-content h3,
.rtpd-pop-content h4 {
    text-wrap: balance;
    scroll-margin-top: 112px;
}

.rtpd-pop-content li::marker {
    color: #1351b4;
    font-weight: 800;
}

.rtpd-pop-content br + br,
.rtpd-pop-content h2 + br,
.rtpd-pop-content h3 + br,
.rtpd-pop-content ul + br,
.rtpd-pop-content ol + br {
    display: none;
}

.rtpd-pop-content > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: .25rem .45rem .9rem 0;
    padding: 9px 15px;
    border: 1px solid #b8c9e8;
    border-radius: 9px;
    background: #f4f8fe;
    color: #0b4399;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}

.rtpd-pop-content > a:hover {
    border-color: #1351b4;
    background: #e8f0fb;
    color: #071d41;
    text-decoration: none;
}

.rtpd-pop-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border: 0;
    -webkit-overflow-scrolling: touch;
}

.rtpd-pop-content--editorial {
    max-width: 780px;
}

.rtpd-pop-post .rtpd-pop-layout {
    grid-template-columns: minmax(0, 780px) 320px;
    justify-content: space-between;
}

.rtpd-pop-content--editorial > p:first-of-type {
    color: #344054;
    font-size: 1.1rem;
    line-height: 1.75;
}

.rtpd-pop-cta {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(16, 36, 77, .14);
}

.rtpd-pop-cta::before {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin: -4px 0 20px;
    border-radius: 999px;
    background: #ffcd07;
}

.rtpd-pop-cta .rtpd-btn {
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .rtpd-solutions-hero--home .rtpd-hero__inner,
    .rtpd-solutions-process__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .rtpd-solutions-hero__panel {
        max-width: 680px;
    }

    .rtpd-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rtpd-solution-card:last-child {
        grid-column: 1 / -1;
    }

    .rtpd-pop-layout,
    .rtpd-pop-post .rtpd-pop-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "aside"
            "content";
        gap: 34px;
    }

    .rtpd-pop-aside {
        position: static;
    }

    .rtpd-pop-cta {
        max-width: 720px;
    }
}

@media (max-width: 720px) {
    .rtpd-solution-card:hover {
        transform: none;
    }

    .rtpd-solutions-trust .rtpd-container {
        grid-template-columns: 1fr;
    }

    .rtpd-solutions-trust span {
        justify-content: flex-start;
        padding: 14px 0;
        text-align: left;
    }

    .rtpd-solutions-trust span + span {
        border-top: 1px solid #e3e8f0;
        border-left: 0;
    }

    .rtpd-solution-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rtpd-solution-card:last-child {
        grid-column: auto;
    }

    .rtpd-solutions-final__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .rtpd-solutions-hero {
        padding: 38px 0 42px;
    }

    .rtpd-solutions-hero .rtpd-hero__actions,
    .rtpd-solutions-final .rtpd-btn,
    .rtpd-solutions-process__copy .rtpd-btn {
        width: 100%;
    }

    .rtpd-solutions-hero .rtpd-hero__actions .rtpd-btn {
        width: 100%;
    }

    .rtpd-solutions-hero__panel {
        padding: 23px 20px;
        border-radius: 16px;
    }

    .rtpd-solutions-hero__panel::before {
        border-radius: 16px 16px 0 0;
    }

    .rtpd-solutions-hero__panel li {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .rtpd-solutions-hero__panel li > span {
        width: 34px;
        height: 34px;
    }

    .rtpd-solution-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .rtpd-solution-card--featured::after {
        top: 18px;
        right: 16px;
    }

    .rtpd-solutions-process__steps li {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 17px 15px;
    }

    .rtpd-solutions-content-section {
        padding: 34px 0 46px;
    }

    .rtpd-pop-layout,
    .rtpd-pop-post .rtpd-pop-layout {
        gap: 30px;
    }

    .rtpd-pop-content h2 {
        padding-bottom: .45rem;
        font-size: clamp(1.35rem, 7vw, 1.7rem);
    }

    .rtpd-pop-content h3 {
        font-size: clamp(1.16rem, 5.7vw, 1.38rem);
    }

    .rtpd-pop-content ul,
    .rtpd-pop-content ol {
        padding-left: 1.15rem;
    }

    .rtpd-pop-content > a {
        width: 100%;
        margin-right: 0;
    }

    .rtpd-pop-cta {
        padding: 21px 18px;
        border-radius: 14px;
    }
}

@media (max-width: 380px) {
    .rtpd-solutions-hero__panel h2 {
        font-size: 1.27rem;
    }

    .rtpd-solution-card--featured::after {
        position: static;
        align-self: flex-start;
        margin: -8px 0 16px;
        order: -1;
    }
}
