/* Página O Portal — apresentação do produto, na identidade Magistral. */

.portal-op {
    color: #102033;
    overflow: hidden;
}

.portal-op-hero {
    align-items: center;
    background: #041833 center/cover no-repeat;
    color: #fff;
    display: flex;
    min-height: 78vh;
    position: relative;
}

.portal-op-hero__overlay {
    background:
        linear-gradient(100deg, rgba(2, 16, 42, 0.88) 0%, rgba(0, 48, 140, 0.72) 48%, rgba(0, 80, 233, 0.45) 100%);
    inset: 0;
    position: absolute;
}

.portal-op-hero__inner {
    padding: 7.5rem 0 5.5rem;
    position: relative;
    z-index: 1;
}

.portal-op-hero .portal-op-poster-scroll {
    margin-bottom: 1.35rem;
}

.portal-op-hero .portal-op-actions {
    justify-content: center;
}

.portal-op-kicker {
    align-items: center;
    color: #0050e9;
    display: flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.75rem;
    letter-spacing: 0.16em;
    margin: 0 0 1.1rem;
    text-transform: uppercase;
}

.portal-op-kicker::before {
    background: linear-gradient(90deg, #15eeff, #0050e9);
    border-radius: 99px;
    content: "";
    height: 3px;
    width: 2.5rem;
}

.portal-op-hero .portal-op-kicker,
.portal-op-path--sell .portal-op-kicker {
    color: #7eecff;
}

.portal-op-hero .portal-op-kicker {
    padding-left: 1.15rem;
}

.portal-op-hero__logo {
    display: block;
    height: auto;
    margin: 0 auto 1.35rem;
    width: min(22rem, 78%);
}

.portal-op-hero h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 auto 0.55rem;
    max-width: none;
    padding: 0 1.15rem;
    text-align: center;
}

.portal-op-hero__tagline {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 1.75rem;
    padding: 0 1.15rem;
    text-align: center;
}

.portal-op-hero__profile {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 auto 1.15rem;
    padding: 0 1.15rem;
    text-align: center;
}

.portal-op-hero__lead,
.portal-op-hero__note {
    line-height: 1.55;
    max-width: 40rem;
}

.portal-op-hero__lead {
    font-size: 1.15rem;
    margin: 0 0 0.85rem;
}

.portal-op-hero__note {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    margin: 0 0 2rem;
}

.portal-op-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portal-op-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 52px;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
}

.portal-op-btn--light {
    background: #fff;
    color: #0050e9;
}

.portal-op-btn--light:hover {
    background: #e8fbff;
    color: #003eb8;
    text-decoration: none;
}

.portal-op-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.portal-op-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.portal-op-btn--solid {
    background: #0050e9;
    color: #fff;
}

.portal-op-btn--solid:hover {
    background: #003eb8;
    color: #fff;
    text-decoration: none;
}

.portal-op-section {
    padding: 5rem 0;
}

.portal-op-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.portal-op-section__lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 0 2.2rem;
    max-width: 40rem;
}

.portal-op-hub {
    background:
        radial-gradient(circle at 50% 38%, rgba(14, 191, 247, 0.22), transparent 24rem),
        #041833;
    color: #fff;
    padding: 2.75rem 0;
    text-align: center;
}

.portal-op-hub h2,
.portal-op-hub .portal-op-section__lead {
    color: #fff;
    text-align: center;
}

.portal-op-hub__logo {
    display: block;
    height: auto;
    margin: 0 auto 1.1rem;
    width: min(24rem, 86%);
}

.portal-op-hub .portal-op-section__lead {
    color: rgba(255, 255, 255, 0.78);
    margin-left: auto;
    margin-right: auto;
}

.portal-op-hub__sr {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
}

.portal-op-poster-scroll {
    margin: 0;
}

.portal-op-poster {
    border-radius: 28px;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .portal-op-poster {
        border-radius: 16px;
    }
}

.portal-op-hub__caption {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 1.1rem 0 1.2rem;
    max-width: 44rem;
}

.portal-op-bridge {
    display: grid;
    gap: 1rem;
    position: relative;
}

.portal-op-bridge__side {
    background: #06285c;
    border: 1px solid rgba(126, 246, 255, 0.28);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portal-op-bridge__photo {
    background: #041833 center/cover no-repeat;
    height: 9.5rem;
}

.portal-op-bridge__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.2rem;
}

.portal-op-bridge__body h3 {
    align-items: center;
    display: flex;
    font-size: 1.35rem;
    font-weight: 800;
    gap: 0.55rem;
    margin: 0 0 0.9rem;
}

.portal-op-bridge__body h3 i,
.portal-op-bridge__body li i,
.portal-op-bridge__pills i,
.portal-op-bridge__rail i {
    color: #7eecff;
}

.portal-op-bridge__body ul,
.portal-op-bridge__pills,
.portal-op-bridge__rail {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-op-bridge__body li {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    line-height: 1.35;
    margin: 0 0 0.55rem;
}

.portal-op-bridge__body li i {
    margin-top: 0.15rem;
    width: 1rem;
    text-align: center;
}

.portal-op-bridge__mid {
    align-items: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(21, 238, 255, 0.42), rgba(0, 80, 233, 0.2) 46%, #041833 72%);
    border: 1px solid rgba(126, 246, 255, 0.55);
    border-radius: 28px;
    box-shadow: 0 0 36px rgba(21, 238, 255, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 16rem;
    padding: 1.6rem 1.1rem 1.3rem;
    position: relative;
    text-align: center;
}

.portal-op-bridge__ring {
    align-items: center;
    border: 2px solid rgba(190, 250, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 0 16px rgba(21, 238, 255, 0.14), 0 0 32px rgba(21, 238, 255, 0.65);
    display: flex;
    height: 11rem;
    justify-content: center;
    margin-bottom: 1.1rem;
    width: 11rem;
}

.portal-op-bridge__meet {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
    max-width: 7rem;
}

.portal-op-bridge__arrow {
    display: none;
}

.portal-op-bridge__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
}

.portal-op-bridge__pills li {
    align-items: center;
    background: rgba(4, 18, 48, 0.45);
    border: 1px solid rgba(126, 246, 255, 0.55);
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
}

.portal-op-bridge__rail {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0 0;
}

.portal-op-bridge__rail li {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    display: flex;
    font-weight: 700;
    gap: 0.55rem;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.7rem 0.5rem;
    text-align: center;
}

.portal-op-bridge__close {
    background: #15eeff;
    border-radius: 999px;
    color: #041833;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 1rem 0 0;
    padding: 0.9rem 1.2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .portal-op-bridge__rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .portal-op-bridge {
        align-items: stretch;
        grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.82fr) minmax(0, 1.05fr);
    }

    .portal-op-bridge::before {
        background: linear-gradient(90deg, transparent, #15eeff 18%, #15eeff 82%, transparent);
        box-shadow: 0 0 16px #15eeff;
        content: "";
        height: 2px;
        left: 12%;
        position: absolute;
        right: 12%;
        top: 46%;
        z-index: 0;
    }

    .portal-op-bridge__side,
    .portal-op-bridge__mid {
        min-height: 32rem;
        position: relative;
        z-index: 1;
    }

    .portal-op-bridge__photo {
        height: 11rem;
    }

    .portal-op-bridge__arrow {
        align-items: center;
        background: #15eeff;
        border-radius: 50%;
        box-shadow: 0 0 18px rgba(21, 238, 255, 0.85);
        color: #041833;
        display: flex;
        height: 2.7rem;
        justify-content: center;
        position: absolute;
        top: 42%;
        width: 2.7rem;
        z-index: 2;
    }

    .portal-op-bridge__arrow--left {
        left: -1.35rem;
    }

    .portal-op-bridge__arrow--right {
        right: -1.35rem;
    }

    .portal-op-bridge__rail {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .portal-op-bridge__rail li {
        flex-direction: column;
        gap: 0.35rem;
    }
}

.portal-op-paths {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .portal-op-paths {
        grid-template-columns: 1fr 1fr;
    }
}

.portal-op-path {
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.portal-op-path--buy {
    background: #f4f8ff;
    border: 1px solid #d7e6ff;
    color: #102033;
}

.portal-op-path--sell {
    background: #062047 center/cover no-repeat;
    color: #fff;
}

.portal-op-path__shade {
    background: linear-gradient(160deg, rgba(4, 18, 48, 0.92), rgba(0, 80, 233, 0.78));
    inset: 0;
    position: absolute;
}

.portal-op-path__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem 1.7rem 1.7rem;
    position: relative;
    z-index: 1;
}

.portal-op-path h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0.35rem 0 0.6rem;
}

.portal-op-path p {
    line-height: 1.5;
    margin: 0 0 1.25rem;
}

.portal-op-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.portal-op-list li {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    line-height: 1.4;
    margin: 0 0 0.85rem;
}

.portal-op-list i {
    color: #0ebff7;
    margin-top: 0.15rem;
    width: 1.1rem;
}

.portal-op-path--buy .portal-op-list i {
    color: #0050e9;
}

.portal-op-path .portal-op-btn {
    margin-top: auto;
    align-self: flex-start;
}

.portal-op-produtos {
    background: #fff;
}

.portal-op-produtos__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .portal-op-produtos__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.portal-op-produto {
    background: #f4f8ff;
    border: 1px solid #d7e6ff;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    padding: 1.85rem 1.6rem 1.6rem;
}

.portal-op-produto--destaque {
    background: linear-gradient(165deg, #041833 0%, #06285c 55%, #0050e9 120%);
    border-color: transparent;
    color: #fff;
}

.portal-op-produto__badge {
    color: #0050e9;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.portal-op-produto--destaque .portal-op-produto__badge {
    color: #7eecff;
}

.portal-op-produto h3 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
}

.portal-op-produto__resumo {
    color: #4b5b70;
    line-height: 1.5;
    margin: 0 0 0.85rem;
}

.portal-op-produto--destaque .portal-op-produto__resumo {
    color: rgba(255, 255, 255, 0.82);
}

.portal-op-produto__preco {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 1.1rem;
}

.portal-op-produto .portal-op-list {
    flex: 1;
    margin-bottom: 1.35rem;
}

.portal-op-produto--destaque .portal-op-list i {
    color: #7eecff;
}

.portal-op-produto .portal-op-btn {
    align-self: flex-start;
    margin-top: auto;
}

.portal-op-produto--destaque .portal-op-btn--solid {
    background: #15eeff;
    color: #041833;
}

.portal-op-produto--destaque .portal-op-btn--solid:hover,
.portal-op-produto--destaque .portal-op-btn--solid:focus {
    background: #fff;
    color: #041833;
}

.portal-op-produtos__nota {
    color: #4b5b70;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 1.5rem 0 0;
    max-width: 46rem;
}

.portal-op-produtos__nota a {
    color: #0050e9;
    font-weight: 700;
    text-decoration: underline;
}

.portal-op-steps {
    background: #f7f9fc;
}

.portal-op-stepgrid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .portal-op-stepgrid {
        grid-template-columns: 1fr 1fr;
    }
}

.portal-op-step ol {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.portal-op-step li {
    display: grid;
    gap: 0.15rem 0.9rem;
    grid-template-columns: auto 1fr;
    margin: 0 0 1.1rem;
}

.portal-op-num {
    align-items: center;
    background: linear-gradient(135deg, #15eeff, #0050e9);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-weight: 800;
    grid-row: span 2;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.portal-op-step strong {
    display: block;
    font-size: 1.05rem;
}

.portal-op-step span {
    color: #4b5b70;
    line-height: 1.45;
}

.portal-op-join {
    background: #041833 center/cover no-repeat;
    color: #fff;
    position: relative;
}

.portal-op-join .portal-op-section__lead {
    color: rgba(255, 255, 255, 0.78);
}

.portal-op-join__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .portal-op-join__grid {
        grid-template-columns: 1fr 1fr;
    }

    .portal-op-tile--wide {
        grid-column: 1 / -1;
    }
}

.portal-op-tile {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 1.4rem 1.3rem 1.3rem;
}

.portal-op-tile i {
    color: #7eecff;
    font-size: 1.25rem;
}

.portal-op-tile h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.7rem 0 0.4rem;
}

.portal-op-tile p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
    margin: 0;
}

.portal-op-historia {
    background: #fff;
}

.portal-op-origem {
    align-items: start;
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .portal-op-origem {
        grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
    }
}

.portal-op-historia__body,
.portal-op-historia__body p,
.portal-op-historia__body b,
.portal-op-historia__body strong {
    font-size: 1.05rem;
    hyphens: manual;
    -webkit-hyphens: manual;
    line-height: 1.75;
    text-align: justify;
}

.portal-op-tipos-box h2 {
    font-size: 1.45rem;
}

.portal-op-tipos-box__lead {
    color: #4b5b70;
    line-height: 1.5;
    margin: 0 0 1.1rem;
}

.portal-op-tipos {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-op-tipo {
    align-items: center;
    background: #f4f8ff;
    border: 1px solid #d7e6ff;
    border-radius: 16px;
    display: flex;
    gap: 0.65rem;
    min-height: 3.4rem;
    padding: 0.7rem 0.75rem;
}

.portal-op-tipo i {
    color: #0050e9;
    flex: 0 0 1.4rem;
    font-size: 1.2rem;
    text-align: center;
}

.portal-op-tipo span {
    font-weight: 700;
    line-height: 1.25;
}

.portal-op-pilares .portal-op-section__lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.portal-op-pilares h2 {
    text-align: center;
}

.portal-op-pilar {
    background: #fff;
    border: 1px solid #e4ecf7;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 40, 120, 0.05);
    height: 100%;
    padding: 1.4rem 1.3rem;
}

.portal-op-pilar h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.8rem 0 0.55rem;
}

.portal-op-pilar .portal-cms-content {
    color: #3d4d62;
    hyphens: manual;
    line-height: 1.6;
    text-align: left;
}

.portal-op-cta {
    background: linear-gradient(100deg, #0050e9, #0ebff7);
    color: #fff;
    text-align: center;
}

.portal-op-cta h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 18ch;
}

.portal-op-cta .portal-op-section__lead {
    margin-left: auto;
    margin-right: auto;
}

.portal-op-cta .portal-op-actions {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .portal-op-hero {
        min-height: 0;
    }

    .portal-op-hero__inner {
        padding: 6.5rem 0 3.5rem;
    }

    .portal-op-actions,
    .portal-op-btn {
        width: 100%;
    }
}
