.global-solucoes,
.global-solucoes * {
    box-sizing: border-box;
}

.global-solucoes {
    --gs-button-bg-1: #00519f;
    --gs-button-bg-2: #0799ed;
    --gs-hover-y: -5px;
    --gs-hover-bg: #F2F9FC;
    --gs-hover-border: #a7d9ff;
    --gs-hover-shadow: rgba(0,95,184,.16);
    --gs-icon-hover-bg: #005DBC;
    --gs-icon-hover-color: #ffffff;
    --gs-hover-duration: 260ms;
    --gs-icon-hover-scale: 1.06;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f7fafc;
    padding: 98px 24px 100px 8px;
    font-family: Montserrat, Arial, sans-serif;
}

.global-solucoes__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.global-solucoes__header {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.global-solucoes__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 0 0 44px;
    padding: 11px 28px;
    border: 1px solid #bbdfff;
    border-radius: 999px;
    background: #edf6ff;
    color: #005fb8;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.global-solucoes__title {
    margin: 0 0 16px;
    padding: 0;
    color: #06132b;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.018em;
}

.global-solucoes__title-highlight {
    color: #0866c5;
}

.global-solucoes__title-line2 {
    display: block;
}

.global-solucoes__description {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}

.global-solucoes__description p {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.global-solucoes__viewport {
    width: 100%;
    position: relative;
}

.global-solucoes__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 40px;
    width: 100%;
}

.global-solucoes__card {
    min-width: 0;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 15px 22px;
    border: 1px solid #d6e8f7;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}


.global-solucoes__icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #e1f0fc;
    color: #0066c8;
    font-size: 17px;
    line-height: 1;
    transition: transform var(--gs-hover-duration) cubic-bezier(.22,.61,.36,1), background-color var(--gs-hover-duration) ease, color var(--gs-hover-duration) ease, box-shadow var(--gs-hover-duration) ease;
}

.global-solucoes__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.global-solucoes__icon i {
    color: inherit;
}

.global-solucoes__icon svg path {
    fill: currentColor;
}

.global-solucoes__icon-image {
    display: block;
    width: 44%;
    height: 44%;
    object-fit: contain;
}


.global-solucoes__card-content {
    width: 100%;
    margin-top: 17px;
}

.global-solucoes__card-title {
    margin: 0 0 7px;
    padding: 0;
    color: #111;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.global-solucoes__card-description {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

.global-solucoes__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: #0066c8;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    transition: color 180ms ease, transform 180ms ease;
}

.global-solucoes__card-link:hover {
    color: #004e9c;
    transform: translateX(2px);
}

.global-solucoes__external-icon {
    font-size: 11px;
    line-height: 1;
}

.global-solucoes--hover .global-solucoes__card {
    transition: transform var(--gs-hover-duration) cubic-bezier(.22,.61,.36,1), background-color var(--gs-hover-duration) ease, border-color var(--gs-hover-duration) ease, box-shadow var(--gs-hover-duration) ease;
}

/* Hover fiel ao primeiro card do PSD.
 * Todos os cards iniciam no estado normal e somente o card sob o mouse
 * assume o fundo azul-claro + ícone azul forte com símbolo branco.
 * A regra fica fora de @media(pointer) para também funcionar no preview do Elementor. */
.global-solucoes.global-solucoes--hover .global-solucoes__card:hover {
    transform: translate3d(0, var(--gs-hover-y), 0);
    background-color: var(--gs-hover-bg) !important;
    border-color: var(--gs-hover-border) !important;
    box-shadow: 0 16px 38px -20px var(--gs-hover-shadow);
}

.global-solucoes.global-solucoes--hover .global-solucoes__card:hover .global-solucoes__icon {
    transform: scale(var(--gs-icon-hover-scale));
    background-color: var(--gs-icon-hover-bg) !important;
    color: var(--gs-icon-hover-color) !important;
    box-shadow: 0 8px 22px -12px var(--gs-hover-shadow);
}

.global-solucoes.global-solucoes--hover .global-solucoes__card:hover .global-solucoes__icon i,
.global-solucoes.global-solucoes--hover .global-solucoes__card:hover .global-solucoes__icon svg,
.global-solucoes.global-solucoes--hover .global-solucoes__card:hover .global-solucoes__icon svg path {
    color: var(--gs-icon-hover-color) !important;
    fill: var(--gs-icon-hover-color) !important;
}

/* Acessibilidade por teclado: replica o mesmo estado visual do hover. */
.global-solucoes.global-solucoes--hover .global-solucoes__card:focus-within {
    background-color: var(--gs-hover-bg) !important;
    border-color: var(--gs-hover-border) !important;
}

.global-solucoes.global-solucoes--hover .global-solucoes__card:focus-within .global-solucoes__icon {
    background-color: var(--gs-icon-hover-bg) !important;
    color: var(--gs-icon-hover-color) !important;
}


.global-solucoes__carousel-controls {
    display: none;
}

.global-solucoes__footer {
    width: 100%;
    margin-top: 46px;
    text-align: center;
}

.global-solucoes__footer-text {
    max-width: 760px;
    margin: 0 auto;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 400;
}

.global-solucoes__cta {
    width: 286px;
    min-height: 56px;
    margin: 44px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gs-button-bg-1), var(--gs-button-bg-2));
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    box-shadow: 0 10px 24px -10px rgba(0,81,159,.38);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.global-solucoes__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px -12px rgba(0,81,159,.44);
}

/* Entrada segura: CSS nunca esconde o conteúdo. O JS anima somente quando disponível. */

@media (max-width: 1024px) {
    .global-solucoes {
        padding: 70px 20px;
    }

    .global-solucoes__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }

    .global-solucoes__title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .global-solucoes {
        width: 100%;
        padding: 50px 10px 55px;
        overflow: hidden;
    }

    .global-solucoes__inner,
    .global-solucoes__header,
    .global-solucoes__footer-text {
        width: 100%;
        max-width: 100%;
    }

    .global-solucoes__header {
        margin-bottom: 36px;
    }

    .global-solucoes__badge {
        margin-bottom: 28px;
    }

    .global-solucoes__title {
        font-size: 29px;
    }

    .global-solucoes__description {
        font-size: 14px;
        line-height: 1.65;
    }

    .global-solucoes__track {
        grid-template-columns: 1fr;
        column-gap: 14px;
        row-gap: 18px;
    }

    .global-solucoes__card {
        min-height: 225px;
        padding: 24px 18px 20px;
    }

    .global-solucoes__card-description {
        text-align: left;
    }

    .global-solucoes__footer {
        margin-top: 34px;
    }

    .global-solucoes__footer-text {
        font-size: 14px;
    }

    .global-solucoes__cta {
        width: 88%;
        margin-top: 28px;
    }

    .global-solucoes--mobile-carousel .global-solucoes__viewport {
        overflow: hidden;
        touch-action: pan-y;
        cursor: grab;
    }

    .global-solucoes--mobile-carousel .global-solucoes__viewport.is-dragging {
        cursor: grabbing;
    }

    .global-solucoes--mobile-carousel .global-solucoes__track {
        display: flex;
        width: max-content;
        grid-template-columns: none;
        column-gap: 0;
        row-gap: 0;
        transform: translate3d(0,0,0);
        will-change: transform;
    }

    .global-solucoes--mobile-carousel .global-solucoes__card {
        flex: 0 0 auto;
        width: 100%;
    }

    .global-solucoes--mobile-carousel .global-solucoes__carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-top: 18px;
    }

    .global-solucoes__arrow {
        width: 38px;
        height: 38px;
        border: 1px solid #d6e8f7;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: #fff;
        color: #0066c8;
        font-size: 13px;
        cursor: pointer;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .global-solucoes__arrow:active {
        transform: scale(.94);
    }

    .global-solucoes__arrow[disabled] {
        opacity: .35;
        cursor: default;
    }

    .global-solucoes__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 16px;
    }

    .global-solucoes__dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #b8d6ee;
        cursor: pointer;
        transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
    }

    .global-solucoes__dot.is-active {
        width: 20px;
        background: #0066c8;
    }

    .global-solucoes--no-mobile-animation .gs-animate {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .global-solucoes *,
    .global-solucoes *::before,
    .global-solucoes *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition-duration: .01ms !important;
    }
}
