/* =========================================================
   JUXTA SITE - DESIGN SYSTEM
   Site institucional / comercial da Juxta
   ========================================================= */

:root {
    --jx-bg: #090d16;
    --jx-bg-soft: #0f1522;
    --jx-surface: #ffffff;
    --jx-surface-soft: #f6f7fb;
    --jx-text: #111827;
    --jx-text-muted: #667085;
    --jx-text-on-dark: #ffffff;
    --jx-text-muted-on-dark: rgba(255,255,255,.68);
    --jx-border: #e7e9ef;
    --jx-border-dark: rgba(255,255,255,.10);
    --jx-primary: #7c5cfc;
    --jx-primary-strong: #6d4df2;
    --jx-secondary: #4c8dff;
    --jx-accent-gradient: linear-gradient(135deg, #7c5cfc 0%, #4c8dff 100%);
    --jx-radius-sm: 12px;
    --jx-radius-md: 18px;
    --jx-radius-lg: 24px;
    --jx-shadow-sm: 0 12px 30px rgba(16,24,40,.08);
    --jx-shadow-lg: 0 28px 80px rgba(8,15,30,.16);
}

.jx-section {
    position: relative;
    padding: 92px 0;
}

.jx-section--light {
    background: #fff;
    color: var(--jx-text);
}

.jx-section--soft {
    background: var(--jx-surface-soft);
    color: var(--jx-text);
}

.jx-section--dark {
    background: var(--jx-bg);
    color: #fff;
}

.jx-section__header {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.jx-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--jx-primary-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.jx-section__title {
    margin: 0;
    color: inherit;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 800;
}

.jx-section__lead {
    max-width: 700px;
    margin: 16px auto 0;
    color: var(--jx-text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.jx-section--dark .jx-section__lead {
    color: var(--jx-text-muted-on-dark);
}

.jx-segments {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.jx-segment-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--jx-border);
    border-radius: var(--jx-radius-md);
    background: #fff;
    box-shadow: 0 1px 0 rgba(16,24,40,.02);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.jx-segment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,92,252,.28);
    box-shadow: var(--jx-shadow-sm);
}

.jx-segment-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--jx-primary);
    background: rgba(124,92,252,.09);
}

.jx-segment-card__icon svg {
    width: 24px;
    height: 24px;
}

.jx-segment-card h3 {
    margin: 0;
    color: var(--jx-text);
    font-size: 19px;
    font-weight: 800;
}

.jx-segment-card p {
    margin: 10px 0 0;
    color: var(--jx-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.jx-segment-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.jx-segment-card li {
    position: relative;
    margin-top: 9px;
    padding-left: 19px;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.jx-segment-card li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jx-primary);
}

@media (max-width: 991px) {
    .jx-section { padding: 72px 0; }
    .jx-segments { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 575px) {
    .jx-section { padding: 58px 0; }
    .jx-segments { grid-template-columns: 1fr; }
}


/* =========================================================
   JUXTA - HERO PRINCIPAL
   Substitui o antigo bloco "Quick Actions" do ApexHost
   ========================================================= */

.jx-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(168, 85, 247, .22), transparent 34%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, .18), transparent 34%),
        #090d16;
    color: #fff;
}

.jx-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    filter: saturate(.85) contrast(1.08);
}

.jx-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 12, 22, .97) 0%, rgba(8, 12, 22, .88) 48%, rgba(8, 12, 22, .52) 100%),
        linear-gradient(180deg, rgba(8, 12, 22, .08), rgba(8, 12, 22, .76));
}

.jx-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0 86px;
}

.jx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
    gap: 64px;
    align-items: center;
}

.jx-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: rgba(255,255,255,.88);
}

.jx-hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 0 5px rgba(168,85,247,.13);
}

.jx-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.1vw, 72px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
}

.jx-hero h1 span {
    background: linear-gradient(90deg, #c084fc 0%, #818cf8 52%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jx-hero__lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.73);
    font-size: 18px;
    line-height: 1.7;
}

.jx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.jx-btn {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.jx-btn:hover {
    transform: translateY(-2px);
}

.jx-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 14px 35px rgba(99,102,241,.28);
}

.jx-btn--primary:hover {
    box-shadow: 0 18px 45px rgba(99,102,241,.36);
}

.jx-btn--secondary {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
}

.jx-btn--secondary:hover {
    background: rgba(255,255,255,.11);
}

.jx-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 34px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 650;
}

.jx-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jx-hero__trust-item svg {
    width: 17px;
    height: 17px;
    color: #a78bfa;
}

/* Painel da direita */
.jx-product-panel {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
}

.jx-product-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(192,132,252,.45), transparent 42%, rgba(96,165,250,.30));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.jx-product-panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.jx-product-panel__brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.jx-product-panel__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    font-weight: 900;
    font-size: 18px;
}

.jx-product-panel__brand strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.jx-product-panel__brand small {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.56);
    font-size: 12px;
}

.jx-product-panel__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    color: #86efac;
    font-size: 11px;
    font-weight: 800;
}

.jx-product-panel__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.jx-solution-list {
    display: grid;
    gap: 10px;
}

.jx-solution-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 15px;
    background: rgba(5,8,15,.42);
}

.jx-solution-card__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #c4b5fd;
    background: rgba(139,92,246,.14);
}

.jx-solution-card__icon svg {
    width: 21px;
    height: 21px;
}

.jx-solution-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
}

.jx-solution-card span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.54);
    font-size: 12px;
    line-height: 1.35;
}

.jx-product-panel__footer {
    margin-top: 14px;
    padding: 14px 4px 2px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 991px) {
    .jx-hero {
        min-height: auto;
    }

    .jx-hero__content {
        padding: 82px 0 64px;
    }

    .jx-hero__grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .jx-hero h1 {
        max-width: 850px;
    }

    .jx-product-panel {
        max-width: 620px;
    }
}

@media (max-width: 575px) {
    .jx-hero__content {
        padding: 68px 0 48px;
    }

    .jx-hero h1 {
        font-size: 40px;
    }

    .jx-hero__lead {
        font-size: 16px;
    }

    .jx-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .jx-btn {
        width: 100%;
    }

    .jx-product-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .jx-product-panel__top {
        align-items: flex-start;
    }

    .jx-product-panel__status {
        display: none;
    }
}

/* =========================================================
   JUXTA NAVBAR - integração nativa com ApexHost
   Usa .link-wrapper, .link e .theme-dropdown-menu porque
   essas classes também são usadas pelo JavaScript do tema.
   ========================================================= */

@media (min-width: 1365px) {
    .theme-navbar .jx-public-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2px !important;
    }

    .theme-navbar .jx-public-nav > .link-wrapper {
        width: auto !important;
    }

    .theme-navbar .jx-public-nav > .link-wrapper > .link {
        min-height: 40px;
        padding: 8px 10px;
        color: #101828;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    .theme-navbar .jx-public-nav > .link-wrapper > .link:hover,
    .theme-navbar .jx-public-nav > .link-wrapper.show > .link {
        color: var(--jx-primary);
        background: rgba(124,92,252,.07);
    }

    .theme-navbar .jx-public-nav > .link-wrapper > .link svg {
        width: 13px;
        height: 13px;
        transition: transform .18s ease;
    }

    .theme-navbar .jx-public-nav > .link-wrapper.show > .link svg {
        transform: rotate(180deg);
    }

    .theme-navbar .jx-theme-dropdown {
        min-width: 292px;
        top: 44px;
        padding: 9px;
        border: 1px solid #e7e9ef;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 22px 55px rgba(16,24,40,.14);
        z-index: 120;
    }

    .theme-navbar .jx-menu-support .jx-theme-dropdown {
        inset-inline-start: auto;
        inset-inline-end: 0;
    }
}

.theme-navbar .jx-ddm-heading {
    padding: 7px 10px 8px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.theme-navbar .jx-theme-dropdown .ddm-item .jx-ddm-link {
    padding: 10px 11px;
    border-radius: 10px;
    min-width: 270px;
}

.theme-navbar .jx-theme-dropdown .ddm-item .jx-ddm-link:hover {
    background: #f7f5ff;
    color: #101828;
}

.theme-navbar .jx-ddm-link span {
    display: block;
}

.theme-navbar .jx-ddm-link strong {
    display: block;
    color: #101828;
    font-size: 13px;
    line-height: 1.35;
}

.theme-navbar .jx-ddm-link small {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 11px;
    line-height: 1.35;
}

/* O site comercial permanece visualmente claro no navbar,
   mesmo que o WHMCS mantenha a infraestrutura de tema para a área do cliente. */
[data-theme="dark-theme"] .theme-navbar .jx-public-nav > .link-wrapper > .link {
    color: var(--foreground);
}

@media (max-width: 1364px) {
    .theme-navbar .jx-public-nav {
        width: 100%;
    }

    .theme-navbar .jx-public-nav .jx-theme-dropdown {
        width: 100%;
        background: #1b1b20 !important;
    }

    .theme-navbar .jx-public-nav .jx-ddm-heading,
    .theme-navbar .jx-public-nav .jx-ddm-link small {
        color: rgba(255,255,255,.58);
    }

    .theme-navbar .jx-public-nav .jx-ddm-link strong {
        color: #fff;
    }

    .theme-navbar .jx-public-nav .jx-theme-dropdown .ddm-item .jx-ddm-link:hover {
        background: rgba(255,255,255,.06);
        color: #fff;
    }
}

/* =========================================================
   JUXTA - SOLUÇÕES / PRODUTOS
   ========================================================= */

.jx-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.jx-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--jx-border);
    border-radius: var(--jx-radius-md);
    background: #fff;
    box-shadow: 0 1px 0 rgba(16,24,40,.02);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.jx-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,92,252,.26);
    box-shadow: var(--jx-shadow-sm);
}

.jx-product-card__icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    color: var(--jx-primary);
    background: rgba(124,92,252,.09);
    font-size: 20px;
}

.jx-product-card__tag {
    margin-bottom: 8px;
    color: var(--jx-primary-strong);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.jx-product-card h3 {
    margin: 0;
    color: var(--jx-text);
    font-size: 22px;
    font-weight: 800;
}

.jx-product-card p {
    margin: 12px 0 0;
    color: var(--jx-text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.jx-product-card ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.jx-product-card li {
    position: relative;
    margin-top: 9px;
    padding-left: 19px;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.jx-product-card li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jx-primary);
}

.jx-product-card__footer {
    margin-top: auto;
    padding-top: 24px;
}

.jx-product-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--jx-primary) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.jx-product-link:hover {
    color: var(--jx-primary-strong) !important;
}

.jx-products-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding: 24px 26px;
    border: 1px solid rgba(124,92,252,.16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(124,92,252,.06), rgba(76,141,255,.06));
}

.jx-products-cta strong {
    display: block;
    color: var(--jx-text);
    font-size: 16px;
}

.jx-products-cta span {
    display: block;
    margin-top: 5px;
    color: var(--jx-text-muted);
    font-size: 13px;
}

/* =========================================================
   JUXTA - ECOSSISTEMA
   ========================================================= */

.jx-ecosystem-section {
    overflow: hidden;
}

.jx-ecosystem-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
    gap: 70px;
    align-items: center;
}

.jx-ecosystem-copy .jx-section__lead {
    margin-left: 0;
    margin-right: 0;
}

.jx-ecosystem-points {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.jx-ecosystem-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.jx-ecosystem-point__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #c4b5fd;
    background: rgba(124,92,252,.13);
}

.jx-ecosystem-point strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.jx-ecosystem-point span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.55;
}

.jx-ecosystem-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.jx-ecosystem-visual {
    position: relative;
    min-height: 520px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 46%, rgba(124,92,252,.18), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow: 0 28px 80px rgba(0,0,0,.20);
}

.jx-ecosystem-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    min-height: 150px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background: rgba(7,10,18,.88);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    text-align: center;
    z-index: 2;
}

.jx-ecosystem-core__mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 15px;
    background: var(--jx-accent-gradient);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.jx-ecosystem-core strong {
    color: #fff;
    font-size: 17px;
}

.jx-ecosystem-core span {
    margin-top: 4px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
}

.jx-ecosystem-module {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 170px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: rgba(10,14,24,.82);
    box-shadow: 0 16px 45px rgba(0,0,0,.17);
}

.jx-ecosystem-module > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #c4b5fd;
    background: rgba(124,92,252,.13);
}

.jx-ecosystem-module strong {
    display: block;
    color: #fff;
    font-size: 12px;
}

.jx-ecosystem-module span {
    display: block;
    margin-top: 2px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
}

.jx-ecosystem-module--pos { left: 7%; top: 13%; }
.jx-ecosystem-module--delivery { right: 7%; top: 15%; }
.jx-ecosystem-module--ped { left: 4%; bottom: 14%; }
.jx-ecosystem-module--fiscal { right: 5%; bottom: 16%; }
.jx-ecosystem-module--ifood { left: 50%; bottom: 5%; transform: translateX(-50%); }

@media (max-width: 1199px) {
    .jx-products-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .jx-ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .jx-ecosystem-visual {
        min-height: 480px;
    }
}

@media (max-width: 767px) {
    .jx-products-grid {
        grid-template-columns: 1fr;
    }

    .jx-products-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .jx-products-cta .jx-btn {
        width: 100%;
    }

    .jx-ecosystem-visual {
        min-height: auto;
        display: grid;
        gap: 10px;
        padding: 18px;
    }

    .jx-ecosystem-core,
    .jx-ecosystem-module {
        position: static;
        width: 100%;
        min-width: 0;
        transform: none;
    }

    .jx-ecosystem-core {
        min-height: 140px;
    }
}

/* =========================================================
   JUXTA - DIFERENCIAIS
   ========================================================= */

.jx-differentials-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 44px;
}

.jx-differentials-heading__text {
    margin: 0 0 4px;
    color: var(--jx-text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.jx-differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.jx-differential-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--jx-border);
    border-radius: var(--jx-radius-md);
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.jx-differential-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124,92,252,.24);
    box-shadow: var(--jx-shadow-sm);
}

.jx-differential-card--featured {
    grid-row: span 2;
    min-height: 516px;
    justify-content: space-between;
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 85% 15%, rgba(96,165,250,.25), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(124,92,252,.24), transparent 34%),
        #0c111d;
}

.jx-differential-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 42px;
}

.jx-differential-card__number {
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.jx-differential-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--jx-primary);
    background: rgba(124,92,252,.09);
    font-size: 17px;
}

.jx-differential-card h3 {
    margin: 0;
    color: var(--jx-text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.jx-differential-card p {
    margin: 10px 0 0;
    color: var(--jx-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.jx-differential-card--featured .jx-differential-card__number {
    color: rgba(255,255,255,.45);
}

.jx-differential-card--featured .jx-differential-card__icon {
    color: #d8ccff;
    background: rgba(124,92,252,.16);
}

.jx-differential-card--featured h3 {
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.jx-differential-card--featured p {
    max-width: 410px;
    color: rgba(255,255,255,.64);
    font-size: 14px;
}

.jx-differential-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 30px;
}

.jx-differential-card__chips span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: rgba(255,255,255,.70);
    background: rgba(255,255,255,.05);
    font-size: 10px;
    font-weight: 700;
}

.jx-differentials-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding-top: 30px;
    border-top: 1px solid var(--jx-border);
}

.jx-differentials-footer__text span {
    display: block;
    margin-bottom: 4px;
    color: var(--jx-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.jx-differentials-footer__text strong {
    color: var(--jx-text);
    font-size: 16px;
}

.jx-differentials-footer__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.jx-text-link {
    color: #475467 !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}

.jx-text-link:hover {
    color: var(--jx-primary) !important;
}

@media (max-width: 991px) {
    .jx-differentials-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

    .jx-differential-card--featured {
        grid-row: auto;
        grid-column: span 2;
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .jx-differentials-grid {
        grid-template-columns: 1fr;
    }

    .jx-differential-card,
    .jx-differential-card--featured {
        grid-column: auto;
        min-height: auto;
    }

    .jx-differential-card--featured {
        min-height: 360px;
    }

    .jx-differentials-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .jx-differentials-footer__actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .jx-differentials-footer__actions .jx-btn {
        width: 100%;
    }
}

/* =========================================================
   JUXTA - NOVIDADES
   ========================================================= */

.jx-news-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 38px;
}

.jx-news-heading__side p {
    margin: 0 0 13px;
    color: var(--jx-text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.jx-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.jx-news-card {
    min-width: 0;
}

.jx-news-card > * {
    height: 100%;
}

.jx-news-card img {
    transition: transform .28s ease;
}

.jx-news-card:hover img {
    transform: scale(1.015);
}

/* =========================================================
   JUXTA - CTA FINAL
   ========================================================= */

.jx-final-cta {
    padding: 32px 0 72px;
    background: var(--jx-surface-soft);
}

.jx-final-cta__box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 46px 50px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 85% 20%, rgba(76,141,255,.24), transparent 28%),
        radial-gradient(circle at 15% 100%, rgba(124,92,252,.25), transparent 35%),
        #0b101c;
    box-shadow: 0 24px 70px rgba(16,24,40,.12);
}

.jx-final-cta__copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.jx-final-cta__eyebrow {
    margin-bottom: 11px;
    color: #b9a9ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.jx-final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.jx-final-cta p {
    max-width: 620px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.65;
}

.jx-final-cta__actions {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 205px;
}

.jx-final-cta__actions .jx-btn {
    width: 100%;
}

/* =========================================================
   JUXTA - FOOTER
   ========================================================= */

.jx-footer {
    padding: 66px 0 0;
    border-top: 1px solid #e8ebf1;
    background: #fff;
}

.jx-footer__main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(0, .8fr));
    gap: 48px;
    padding-bottom: 52px;
}

.jx-footer__brand {
    max-width: 290px;
}

.jx-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.jx-footer__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
}

.jx-footer__brand p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.jx-footer__contact {
    display: inline-flex;
    gap: 7px;
    margin-top: 18px;
    color: var(--jx-primary) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.jx-footer__column h3 {
    margin: 0 0 17px;
    color: #101828;
    font-size: 12px;
    font-weight: 800;
}

.jx-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jx-footer__column li + li {
    margin-top: 10px;
}

.jx-footer__column a {
    color: #667085 !important;
    font-size: 12px;
    text-decoration: none !important;
    transition: color .18s ease;
}

.jx-footer__column a:hover {
    color: var(--jx-primary) !important;
}

.jx-footer__bottom {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 0;
    border-top: 1px solid #eaecf0;
}

.jx-footer__legal,
.jx-footer__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.jx-footer__legal span,
.jx-footer__bottom a {
    color: #98a2b3 !important;
    font-size: 11px;
    text-decoration: none !important;
}

.jx-footer__bottom a:hover {
    color: var(--jx-primary) !important;
}

@media (max-width: 1199px) {
    .jx-footer__main {
        grid-template-columns: 1.4fr repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .jx-news-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .jx-final-cta__box {
        align-items: flex-start;
        flex-direction: column;
    }

    .jx-final-cta__actions {
        width: 100%;
        min-width: 0;
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .jx-news-grid {
        grid-template-columns: 1fr;
    }

    .jx-final-cta {
        padding-bottom: 48px;
    }

    .jx-final-cta__box {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .jx-final-cta__actions {
        flex-direction: column;
    }

    .jx-footer {
        padding-top: 48px;
    }

    .jx-footer__main {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 34px 24px;
    }

    .jx-footer__brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .jx-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479px) {
    .jx-footer__main {
        grid-template-columns: 1fr;
    }

    .jx-footer__brand {
        grid-column: auto;
    }
}
