/* Soluções V8 — direção de arte consolidada e comportamento responsivo. */

.rmx-solucoes-v8 {
    --rmx-sol-accent: #B9C17B;
    --rmx-sol-green: #909B3B;
    --rmx-sol-green-text: #5F6B2F;
    --rmx-sol-ink: #111513;
    --rmx-sol-charcoal: #262626;
    --rmx-sol-soft: #f5f6f3;
}

/* Accessible text contrast: brand lime remains on dark surfaces; darker olive is used on light surfaces. */
.rmx-sol-services .rmx-eyebrow,
.rmx-sol-operations-v8 .rmx-eyebrow,
.rmx-sol-differentials .rmx-eyebrow,
.rmx-sol-sectors-v8 .rmx-eyebrow {
    color: var(--rmx-sol-green-text);
}

.rmx-sol-hero-v8 .rmx-eyebrow,
.rmx-sol-profiles-v8 .rmx-eyebrow {
    color: var(--rmx-sol-green);
}

/* Motion */
.rmx-solucoes-v8 [data-rmx-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .72s cubic-bezier(.2,.7,.2,1),
        transform .72s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

.rmx-solucoes-v8 [data-rmx-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rmx-solucoes-v8 .rmx-sol-service-card:nth-child(2),
.rmx-solucoes-v8 .rmx-sol-profile-card:nth-child(2),
.rmx-solucoes-v8 .rmx-sol-differentials-grid article:nth-child(2) {
    transition-delay: .08s;
}

.rmx-solucoes-v8 .rmx-sol-service-card:nth-child(3),
.rmx-solucoes-v8 .rmx-sol-profile-card:nth-child(3),
.rmx-solucoes-v8 .rmx-sol-differentials-grid article:nth-child(3) {
    transition-delay: .16s;
}

.rmx-solucoes-v8 .rmx-sol-service-card:nth-child(4),
.rmx-solucoes-v8 .rmx-sol-differentials-grid article:nth-child(4) {
    transition-delay: .24s;
}

/* Hero */
.rmx-sol-hero-v8 {
    min-height: 640px;
    background:
        linear-gradient(90deg, rgba(4,11,8,.96) 0%, rgba(5,13,9,.90) 38%, rgba(7,14,10,.68) 66%, rgba(7,12,9,.84) 100%),
        radial-gradient(circle at 72% 22%, rgba(207,224,0,.17), transparent 34%),
        var(--rmx-sol-hero-bg),
        linear-gradient(118deg, #07100c 0%, #0c1510 46%, #151f15 100%);
    background-size: auto, auto, min(760px, 58vw) auto, auto;
    background-position: center, center, right 5% center, center;
    background-repeat: no-repeat;
}

.rmx-sol-hero-v8::before {
    opacity: .60;
    background:
        linear-gradient(112deg, transparent 0 55%, rgba(171,191,17,.055) 55% 58%, rgba(207,224,0,.16) 58% 63%, transparent 63% 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.020) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.014) 0 1px, transparent 1px 34px);
}

.rmx-sol-hero-v8::after {
    right: -135px;
    top: -170px;
    width: 500px;
    height: 500px;
    border-color: rgba(207,224,0,.18);
    box-shadow:
        0 0 0 72px rgba(171,191,17,.040),
        0 0 0 145px rgba(171,191,17,.020),
        0 0 110px rgba(171,191,17,.10);
}

.rmx-sol-hero-v8 .rmx-sol-hero-grid {
    position: relative;
    z-index: 2;
    min-height: 640px;
    padding: 78px 0 82px;
}

.rmx-sol-hero-v8 .rmx-sol-hero-copy {
    max-width: 610px;
}

.rmx-sol-hero-v8 .rmx-title {
    font-size: clamp(46px, 4.6vw, 68px);
    line-height: .98;
    letter-spacing: -.045em;
}

.rmx-sol-hero-v8 .rmx-copy {
    margin-top: 20px;
    max-width: 590px;
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.58;
}

.rmx-sol-hero-v8 .rmx-btns {
    margin-top: 28px;
}

.rmx-sol-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.rmx-sol-hero-benefits > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
}

.rmx-sol-hero-benefits .rmx-sol-icon {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    background: rgba(207,224,0,.10);
    border-color: rgba(207,224,0,.30);
}

.rmx-sol-hero-benefits .rmx-sol-icon img {
    width: 23px;
    height: 23px;
}

.rmx-sol-hero-benefits strong,
.rmx-sol-hero-benefits small {
    min-width: 0;
    display: block;
}

.rmx-sol-hero-benefits strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.15;
}

.rmx-sol-hero-benefits small {
    margin-top: 3px;
    color: rgba(255,255,255,.58);
    font-size: 10px;
    line-height: 1.35;
}

.rmx-sol-hero-v8 .rmx-sol-hero-visual {
    border-radius: 26px;
    border-color: rgba(207,224,0,.17);
    background: rgba(6,12,9,.76);
    box-shadow:
        0 32px 80px rgba(0,0,0,.48),
        0 0 0 1px rgba(207,224,0,.04),
        0 0 64px rgba(171,191,17,.08);
}

.rmx-sol-hero-v8 .rmx-sol-hero-visual img {
    min-height: 390px;
    aspect-ratio: 1.36 / 1;
    object-fit: contain;
    padding: 18px;
    background: linear-gradient(145deg, rgba(4,9,7,.38), rgba(12,19,14,.72));
}

.rmx-sol-hero-v8 .rmx-sol-hero-visual figcaption {
    left: 22px;
    right: 22px;
    bottom: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-left: 3px solid var(--rmx-sol-accent);
}

/* Serviços */
.rmx-sol-services {
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 4%, rgba(171,191,17,.08), transparent 23%),
        radial-gradient(circle at 94% 86%, rgba(171,191,17,.045), transparent 22%),
        #fff;
}

.rmx-sol-service-card {
    position: relative;
    overflow: hidden;
}

.rmx-sol-service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--rmx-sol-accent);
    transition: height .25s ease;
}

.rmx-sol-service-card:hover::before {
    height: 100%;
}

/* Perfis — blocos editoriais com mídia */
.rmx-sol-profiles-v8 {
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(171,191,17,.12), transparent 30%),
        linear-gradient(145deg, rgba(171,191,17,.055), transparent 28%),
        #0e1411;
}

.rmx-sol-profiles-v8::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background:
        linear-gradient(112deg, transparent 0 62%, rgba(171,191,17,.20) 62% 66%, transparent 66% 100%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 44px);
}

.rmx-sol-profile-grid-v8 {
    position: relative;
    z-index: 1;
    gap: 20px;
}

.rmx-sol-profile-grid-v8 .rmx-sol-profile-card {
    padding: 0;
    overflow: hidden;
    border-color: rgba(255,255,255,.13);
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow: 0 24px 54px rgba(0,0,0,.20);
}

.rmx-sol-profile-media {
    position: relative;
    height: 205px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: #0c100e;
}

.rmx-sol-profile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8,13,10,.02) 20%, rgba(8,13,10,.70) 100%);
}

.rmx-sol-profile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.rmx-sol-profile-card:hover .rmx-sol-profile-media img {
    transform: scale(1.035);
}

.rmx-sol-profile-media.is-tech img {
    object-fit: contain;
    padding: 16px;
    background: radial-gradient(circle at 55% 50%, rgba(171,191,17,.12), transparent 44%);
}

.rmx-sol-profile-body {
    position: relative;
    padding: 28px 28px 30px;
}

.rmx-sol-profile-body .rmx-sol-icon {
    position: absolute;
    right: 24px;
    top: -30px;
    width: 58px;
    height: 58px;
    margin: 0;
    background: var(--rmx-sol-accent);
    border: 5px solid #111714;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.rmx-sol-profile-body .rmx-sol-icon img {
    filter: brightness(.08);
}

.rmx-sol-profile-grid-v8 h3 {
    max-width: 82%;
    margin: 0 0 16px;
    font-size: 24px;
}

.rmx-sol-profile-grid-v8 ul {
    margin-bottom: 20px;
}

.rmx-sol-profile-grid-v8 article > p,
.rmx-sol-profile-grid-v8 .rmx-sol-profile-body > p {
    margin: 20px 0 0;
    padding-top: 15px;
    border-top: 2px solid var(--rmx-sol-accent);
}

/* Operação */
.rmx-sol-operations-v8 {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(171,191,17,.07), transparent 22%),
        #f5f6f3;
}

.rmx-sol-operations-v8 .rmx-sol-visual-card {
    border-left-width: 6px;
    background: linear-gradient(145deg, #0c120f, #161d17);
}

.rmx-sol-operations-v8 .rmx-sol-visual-card img {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    padding: 22px;
}

.rmx-sol-operation-list span {
    box-shadow: 0 12px 28px rgba(17,21,19,.035);
}

/* Diferenciais + indicadores */
.rmx-sol-differentials {
    overflow: hidden;
}

.rmx-sol-indicators {
    margin: 36px auto 0;
    max-width: 880px;
    border-radius: 18px;
    overflow: hidden;
    background: #111513;
    border: 1px solid rgba(171,191,17,.18);
    box-shadow: 0 18px 46px rgba(17,21,19,.08);
}

.rmx-sol-indicators img {
    display: block;
    width: 100%;
    height: auto;
}

/* Setores */
.rmx-sol-sectors-v8 {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 16%, rgba(171,191,17,.08), transparent 24%),
        #fafbf7;
}

.rmx-sol-sectors-layout {
    display: grid;
    grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr);
    gap: clamp(46px, 6vw, 82px);
    align-items: center;
}

.rmx-sol-sectors-visual {
    margin: 0;
    padding: 22px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid #e5e8e1;
    box-shadow: 0 24px 58px rgba(17,21,19,.08);
}

.rmx-sol-sectors-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.rmx-sol-sectors-content .rmx-sol-heading {
    max-width: 620px;
    margin: 0 0 30px;
}

.rmx-sol-sectors-content .rmx-sol-heading .rmx-copy {
    margin-left: 0;
    margin-right: 0;
}

.rmx-sol-sectors-v8 .rmx-sol-sector-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

.rmx-sol-sectors-v8 .rmx-sol-sector-grid > div {
    min-height: 124px;
}

/* Tablet */
@media (max-width: 1100px) {
    .rmx-sol-hero-v8 {
        background-size: auto, auto, 720px auto, auto;
        background-position: center, center, 118% center, center;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        grid-template-columns: minmax(0,.95fr) minmax(360px,1.05fr);
        gap: 38px;
    }

    .rmx-sol-sectors-layout {
        grid-template-columns: 1fr;
    }

    .rmx-sol-sectors-visual {
        max-width: 720px;
        margin: 0 auto;
    }

    .rmx-sol-sectors-content {
        max-width: 820px;
        margin: 0 auto;
    }

    .rmx-sol-sectors-content .rmx-sol-heading {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .rmx-sol-sectors-content .rmx-sol-heading .rmx-copy {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 900px) {
    .rmx-sol-hero-v8 {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(4,11,8,.96) 0%, rgba(5,13,9,.88) 62%, rgba(7,12,9,.94) 100%),
            radial-gradient(circle at 75% 18%, rgba(207,224,0,.14), transparent 34%),
            var(--rmx-sol-hero-bg),
            #08100c;
        background-size: auto, auto, 700px auto, auto;
        background-position: center, center, center 36%, center;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 104px 0 82px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-copy {
        max-width: 720px;
    }

    .rmx-sol-hero-benefits {
        max-width: 680px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual {
        width: 100%;
        max-width: 720px;
    }

    .rmx-sol-profile-media {
        height: 240px;
    }

    .rmx-sol-operations-v8 .rmx-sol-visual-card {
        max-width: 720px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .rmx-solucoes-v8 .rmx-shell {
        width: min(calc(100% - 30px), 1180px);
    }

    .rmx-sol-hero-v8 {
        background-size: auto, auto, 560px auto, auto;
        background-position: center, center, 58% 35%, center;
    }

    .rmx-sol-hero-v8::after {
        width: 250px;
        height: 250px;
        top: -80px;
        right: -120px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        padding: 92px 0 58px;
        gap: 28px;
        text-align: center;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-copy {
        margin: 0 auto;
    }

    .rmx-sol-hero-v8 .rmx-eyebrow {
        text-align: center;
    }

    .rmx-sol-hero-v8 .rmx-title {
        margin-left: auto;
        margin-right: auto;
        max-width: 330px;
        font-size: clamp(34px, 10vw, 42px);
        line-height: .98;
        text-wrap: balance;
    }

    .rmx-sol-hero-v8 .rmx-copy {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 1.48;
        text-align: center;
    }

    .rmx-sol-hero-v8 .rmx-btns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    .rmx-sol-hero-v8 .rmx-btn {
        width: 100%;
        justify-content: center;
    }

    .rmx-sol-hero-benefits {
        grid-template-columns: 1fr;
        max-width: 330px;
        margin: 24px auto 0;
        gap: 8px;
        text-align: left;
    }

    .rmx-sol-hero-benefits > span {
        grid-template-columns: 34px minmax(0,1fr);
        padding: 8px 10px;
        border-radius: 12px;
        background: rgba(6,12,9,.36);
    }

    .rmx-sol-hero-benefits .rmx-sol-icon {
        width: 34px;
        height: 34px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual {
        border-radius: 18px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual img {
        min-height: 0;
        aspect-ratio: 1.08 / 1;
        padding: 10px 10px 64px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual figcaption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        text-align: left;
    }

    .rmx-sol-profile-grid-v8 {
        grid-template-columns: 1fr;
    }

    .rmx-sol-profile-media {
        height: 205px;
    }

    .rmx-sol-profile-body {
        padding: 25px 22px 26px;
    }

    .rmx-sol-profile-body .rmx-sol-icon {
        right: 18px;
        top: -27px;
        width: 54px;
        height: 54px;
    }

    .rmx-sol-profile-grid-v8 h3 {
        max-width: 78%;
        font-size: 22px;
    }

    .rmx-sol-operations-v8 .rmx-sol-visual-card img {
        padding: 12px;
    }

    .rmx-sol-indicators {
        margin-top: 26px;
        border-radius: 14px;
    }

    .rmx-sol-sectors-layout {
        gap: 34px;
    }

    .rmx-sol-sectors-visual {
        padding: 12px;
        border-radius: 18px;
    }

    .rmx-sol-sectors-content .rmx-sol-heading {
        text-align: center;
    }

    .rmx-sol-sectors-v8 .rmx-sol-sector-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }

    .rmx-sol-sectors-v8 .rmx-sol-sector-grid > div {
        min-height: 112px;
        padding: 14px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rmx-solucoes-v8 [data-rmx-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .rmx-sol-profile-media img {
        transition: none !important;
    }
}


/* Ajustes de redundância — Soluções V8.1 */
.rmx-sol-differentials .rmx-sol-heading {
    margin-bottom: 34px;
}

.rmx-sol-indicators-wide {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 20px;
}

.rmx-sol-indicators-wide img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    object-position: center;
    padding: 22px 26px;
}

.rmx-sol-sectors-v8 .rmx-sol-sectors-layout {
    grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
}

.rmx-sol-sectors-v8 .rmx-sol-sectors-content {
    align-self: center;
}

.rmx-sol-sectors-note {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 3px solid var(--rmx-sol-accent);
    border-radius: 0 14px 14px 0;
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 28px rgba(17,21,19,.04);
}

.rmx-sol-sectors-note span,
.rmx-sol-sectors-note strong {
    display: block;
}

.rmx-sol-sectors-note span {
    margin-bottom: 5px;
    color: #849500;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.rmx-sol-sectors-note strong {
    color: #262626;
    font-size: 16px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .rmx-sol-indicators-wide img {
        max-height: none;
        padding: 18px;
    }

    .rmx-sol-sectors-v8 .rmx-sol-sectors-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .rmx-sol-differentials .rmx-sol-heading {
        margin-bottom: 26px;
    }

    .rmx-sol-indicators-wide {
        border-radius: 14px;
    }

    .rmx-sol-indicators-wide img {
        padding: 12px;
    }

    .rmx-sol-sectors-note {
        margin-top: 20px;
        padding: 17px 18px;
    }
}


/* Controle tipográfico: evitar fragmentação visual de palavras em títulos e rótulos. */
.rmx-solucoes-v8 h1,
.rmx-solucoes-v8 h2,
.rmx-solucoes-v8 h3,
.rmx-solucoes-v8 h4,
.rmx-solucoes-v8 strong,
.rmx-solucoes-v8 .rmx-btn,
.rmx-solucoes-v8 .rmx-eyebrow {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}


/* Diferenciais V8.2 — indicador em blocos responsivos, sem redução destrutiva da arte. */
.rmx-sol-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 0;
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(171,191,17,.055), transparent 42%),
        #101613;
    border: 1px solid rgba(171,191,17,.16);
    box-shadow: 0 20px 48px rgba(17,21,19,.08);
}

.rmx-sol-proof-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 18px 17px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.09);
}

.rmx-sol-proof-card .rmx-sol-icon {
    width: 54px;
    height: 54px;
    margin: 0;
    background: rgba(207,224,0,.08);
    border-color: rgba(207,224,0,.34);
}

.rmx-sol-proof-card .rmx-sol-icon img {
    width: 31px;
    height: 31px;
}

.rmx-sol-proof-copy {
    min-width: 0;
}

.rmx-sol-proof-copy strong,
.rmx-sol-proof-copy small {
    display: block;
}

.rmx-sol-proof-copy strong {
    color: #fff;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.rmx-sol-proof-copy strong span {
    color: var(--rmx-sol-accent);
}

.rmx-sol-proof-copy small {
    margin-top: 6px;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .rmx-sol-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .rmx-sol-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 26px;
        padding: 12px;
        border-radius: 16px;
    }

    .rmx-sol-proof-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 12px;
        border-radius: 12px;
    }

    .rmx-sol-proof-card .rmx-sol-icon {
        width: 42px;
        height: 42px;
    }

    .rmx-sol-proof-card .rmx-sol-icon img {
        width: 24px;
        height: 24px;
    }

    .rmx-sol-proof-copy strong {
        font-size: 14px;
    }

    .rmx-sol-proof-copy small {
        font-size: 10px;
        line-height: 1.35;
    }
}


/* Refinos V8.3 — perfis e diferenciais */
.rmx-sol-profile-grid-v8 article > p,
.rmx-sol-profile-grid-v8 .rmx-sol-profile-body > p {
    border-top: 0;
    padding-top: 0;
}

.rmx-sol-differentials .rmx-sol-heading {
    margin-bottom: 28px;
}

.rmx-sol-proof-grid {
    margin-top: 0;
    padding: 28px;
    min-height: 188px;
    gap: 18px;
}

.rmx-sol-proof-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 20px;
    min-height: 126px;
}

.rmx-sol-proof-card .rmx-sol-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,.96);
    border-color: rgba(207,224,0,.38);
    box-shadow: inset 0 0 0 1px rgba(17,21,19,.06);
}

.rmx-sol-proof-card .rmx-sol-icon img {
    width: 34px;
    height: 34px;
    filter: none;
}

.rmx-sol-proof-copy strong {
    font-size: clamp(17px, 1.35vw, 20px);
}

.rmx-sol-proof-copy small {
    font-size: 12.5px;
}

@media (max-width: 900px) {
    .rmx-sol-proof-grid {
        min-height: 0;
        padding: 20px;
    }
}

@media (max-width: 620px) {
    .rmx-sol-proof-grid {
        margin-top: 0;
        padding: 12px;
        gap: 10px;
    }

    .rmx-sol-proof-card {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 104px;
        padding: 15px 12px;
    }

    .rmx-sol-proof-card .rmx-sol-icon {
        width: 46px;
        height: 46px;
    }

    .rmx-sol-proof-card .rmx-sol-icon img {
        width: 26px;
        height: 26px;
    }
}


/* Refinos V8.4 — mobile em coluna única e remoção definitiva de divisórias legadas */
.rmx-sol-profile-grid-v8 .rmx-sol-profile-card::after,
.rmx-sol-profile-grid-v8 article::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 620px) {
    .rmx-sol-proof-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .rmx-sol-proof-card {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: 92px;
        padding: 14px 14px;
    }

    .rmx-sol-proof-card .rmx-sol-icon {
        width: 52px;
        height: 52px;
    }

    .rmx-sol-proof-card .rmx-sol-icon img {
        width: 29px;
        height: 29px;
    }

    .rmx-sol-proof-copy strong {
        font-size: 15px;
    }

    .rmx-sol-proof-copy small {
        font-size: 11.5px;
        line-height: 1.4;
    }
}


/* Refinos V8.5 — restaura a divisória correta dos cards de perfil.
   Mantém removido o pseudo-elemento legado que gerava a linha fina abaixo do texto. */
.rmx-sol-profile-grid-v8 .rmx-sol-profile-body > p {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--rmx-sol-accent);
}


/* =========================
   Soluções — contrato de viewport V1
   Mantém a hero na primeira dobra em desktops/notebooks baixos.
   ========================= */
@media (min-width: 901px) {
    .rmx-sol-hero-v8.rmx-viewport-hero,
    .rmx-sol-hero-v8.rmx-viewport-hero .rmx-sol-hero-grid {
        min-height: calc(100vh - var(--rmx-viewport-header-offset, 84px));
        min-height: calc(100dvh - var(--rmx-viewport-header-offset, 84px));
    }
}

@media (min-width: 901px) and (max-height: 900px) {
    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        gap: clamp(28px, 4vw, 46px);
        padding: clamp(22px, 3.4dvh, 34px) 0;
    }

    .rmx-sol-hero-v8 .rmx-title {
        font-size: clamp(38px, 5.8dvh, 54px);
        line-height: 1;
    }

    .rmx-sol-hero-v8 .rmx-copy {
        margin-top: 14px;
        font-size: clamp(15px, 1.9dvh, 17px);
        line-height: 1.45;
    }

    .rmx-sol-hero-v8 .rmx-btns {
        margin-top: 18px;
    }

    .rmx-sol-hero-v8 .rmx-btn {
        min-height: 44px;
        padding-block: 10px;
    }

    .rmx-sol-hero-benefits {
        margin-top: 16px;
        padding-top: 12px;
        gap: 8px;
    }

    .rmx-sol-hero-benefits > span {
        grid-template-columns: 34px minmax(0,1fr);
        column-gap: 8px;
    }

    .rmx-sol-hero-benefits .rmx-sol-icon {
        width: 34px;
        height: 34px;
    }

    .rmx-sol-hero-benefits .rmx-sol-icon img {
        width: 20px;
        height: 20px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual img {
        min-height: 0;
        height: min(42dvh, 330px);
        aspect-ratio: auto;
        padding: 12px 12px 58px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual figcaption {
        left: 14px;
        right: 14px;
        bottom: 12px;
        padding: 12px 14px;
    }
}

@media (min-width: 901px) and (max-height: 760px) {
    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        gap: 28px;
        padding-block: 18px;
    }

    .rmx-sol-hero-v8 .rmx-title {
        font-size: clamp(34px, 5.5dvh, 46px);
    }

    .rmx-sol-hero-v8 .rmx-copy {
        margin-top: 11px;
        font-size: 15px;
        line-height: 1.4;
    }

    .rmx-sol-hero-v8 .rmx-btns {
        margin-top: 14px;
    }

    .rmx-sol-hero-benefits {
        margin-top: 12px;
        padding-top: 10px;
    }

    .rmx-sol-hero-benefits small {
        font-size: 9px;
        line-height: 1.2;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual img {
        height: min(38dvh, 285px);
    }
}


/* =========================
   Soluções — adaptador de viewport V2
   Reorganiza conteúdo; não achata a composição.
   ========================= */
@media (min-width: 901px) {
    .rmx-sol-hero-v8.rmx-viewport-hero {
        height: calc(100vh - var(--rmx-viewport-header-offset, 84px));
        height: calc(100dvh - var(--rmx-viewport-header-offset, 84px));
        min-height: 520px;
        max-height: none;
    }

    .rmx-sol-hero-v8.rmx-viewport-hero .rmx-sol-hero-grid {
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 901px) and (max-height: 900px) {
    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
        gap: 36px;
        padding: 24px 0;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-copy {
        max-width: 680px;
    }

    .rmx-sol-hero-v8 .rmx-title {
        max-width: 680px;
        font-size: clamp(44px, 3.5vw, 56px);
        line-height: .99;
    }

    .rmx-sol-hero-v8 .rmx-copy {
        margin-top: 14px;
        max-width: 620px;
        font-size: 16px;
        line-height: 1.45;
    }

    .rmx-sol-hero-v8 .rmx-btns {
        margin-top: 16px;
    }

    .rmx-sol-hero-benefits {
        margin-top: 14px;
        padding-top: 12px;
        gap: 8px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual img {
        min-height: 0;
        height: auto;
        aspect-ratio: 1.36 / 1;
        object-fit: contain;
        padding: 12px 12px 58px;
    }
}

@media (min-width: 901px) and (max-height: 760px) {
    .rmx-sol-hero-v8 .rmx-sol-hero-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
        gap: 28px;
        padding: 18px 0;
    }

    .rmx-sol-hero-v8 .rmx-title {
        font-size: clamp(42px, 3.2vw, 52px);
    }

    .rmx-sol-hero-v8 .rmx-copy {
        margin-top: 11px;
        line-height: 1.4;
    }

    .rmx-sol-hero-v8 .rmx-btns {
        margin-top: 13px;
    }

    .rmx-sol-hero-benefits {
        margin-top: 10px;
        padding-top: 9px;
    }

    .rmx-sol-hero-v8 .rmx-sol-hero-visual img {
        aspect-ratio: 1.45 / 1;
    }
}


/* ==========================================================
   SOLUÇÕES — PALETA ROMEX V2
   ========================================================== */
.rmx-sol-hero-v8 .rmx-eyebrow,
.rmx-sol-profiles-v8 .rmx-eyebrow,
.rmx-sol-proof-copy strong span {
    color: var(--rmx-sol-accent);
}

.rmx-sol-services .rmx-eyebrow,
.rmx-sol-operations-v8 .rmx-eyebrow,
.rmx-sol-differentials .rmx-eyebrow,
.rmx-sol-sectors-v8 .rmx-eyebrow {
    color: var(--rmx-sol-green-text);
}



