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

.global-destaque {
    width: 100%;
    --gd-left-width: 576px;
    --gd-image-width: 560px;
    --gd-image-shadow-color: #0862A3;
    --gd-image-shadow-opacity: .30;
    --gd-image-shadow-blur: 30px;
    --gd-image-shadow-spread: 3px;
    --gd-image-shadow-x: 0px;
    --gd-image-shadow-y: 0px;
    --gd-feature-hover-y: -3px;
    --gd-feature-hover-icon-scale: 1.06;
    --gd-feature-hover-shadow: rgba(0,196,240,.24);
    --gd-feature-hover-duration: 280ms;
    --gd-image-hover-y: -4px;
    --gd-image-hover-scale: 1.02;
    --gd-image-hover-duration: 420ms;
    background: #002B5A;
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    overflow: visible;
}

.global-destaque__container {
    width: 100%;
    max-width: 1200px;
    min-height: 836px;
    margin: 0 auto;
    padding: 99px 8px 102px;
}

.global-destaque__grid {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.global-destaque__content {
    flex: 0 0 var(--gd-left-width);
    width: var(--gd-left-width);
    max-width: var(--gd-left-width);
    min-width: 0;
}

.global-destaque__badge {
    width: 188px;
    min-height: 43px;
    border: 1px solid #00C4F0;
    border-radius: 22px;
    background: #456E8D;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.global-destaque__title {
    margin: 43px 0 0;
    padding: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
}

.global-destaque__title-line {
    display: block;
}

.global-destaque__title-highlight {
    color: #00C4F0;
}

.global-destaque__description {
    margin: 9px 0 0;
    color: #fff;
    font-size: 17px;
    line-height: 29px;
    font-weight: 400;
    text-align: justify;
    text-align-last: left;
}

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

.global-destaque__features {
    margin-top: 43px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.global-destaque__feature {
    min-height: 78px;
    border: 1px solid #fff;
    border-radius: 15px;
    background: #456E8D;
    display: flex;
    align-items: center;
    padding: 8px 18px 8px 8px;
    gap: 24px;
    overflow: hidden;
}

.global-destaque__feature-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 13px;
    background: #00C4F0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.global-destaque__feature-icon i,
.global-destaque__feature-icon svg,
.global-destaque__feature-icon img {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.global-destaque__feature-icon i {
    font-size: 1em;
    color: currentColor;
}

.global-destaque__feature-icon svg {
    fill: currentColor;
}

.global-destaque__feature-icon img {
    object-fit: contain;
}

.global-destaque__feature-title {
    padding: 0;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.global-destaque--feature-hover .global-destaque__feature {
    transition: transform var(--gd-feature-hover-duration) cubic-bezier(.22,.61,.36,1),
                box-shadow var(--gd-feature-hover-duration) ease,
                border-color var(--gd-feature-hover-duration) ease;
    will-change: transform;
}

.global-destaque--feature-hover .global-destaque__feature-icon {
    transition: transform var(--gd-feature-hover-duration) cubic-bezier(.22,.61,.36,1),
                box-shadow var(--gd-feature-hover-duration) ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .global-destaque--feature-hover .global-destaque__feature:hover {
        transform: translate3d(0, var(--gd-feature-hover-y), 0);
        border-color: rgba(255,255,255,.92);
        box-shadow: 0 12px 28px rgba(0,0,0,.12);
    }

    .global-destaque--feature-hover .global-destaque__feature:hover .global-destaque__feature-icon {
        transform: scale(var(--gd-feature-hover-icon-scale));
        box-shadow: 0 8px 22px var(--gd-feature-hover-shadow);
    }
}

.global-destaque__button {
    width: 280px;
    min-height: 56px;
    margin-top: 48px;
    border-radius: 28px;
    background: #fff;
    color: #0057B8;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px 0 20px;
    gap: 16px;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease;
}

.global-destaque__button:hover,
.global-destaque__button:focus {
    color: #0057B8;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.global-destaque__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

.global-destaque__media {
    flex: 0 0 var(--gd-image-width);
    width: var(--gd-image-width);
    max-width: var(--gd-image-width);
    min-width: 0;
    margin-top: 77px;
    overflow: visible;
}

/*
 * Estrutura em duas camadas:
 * - image-shell: sombra externa, SEM overflow hidden.
 * - image-wrap: recorte real da foto com border-radius.
 * Assim o blur do PSD nunca é cortado pela própria imagem.
 */
.global-destaque__image-shell {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 558px;
    border-radius: 16px;
    overflow: visible;
    isolation: isolate;
}

.global-destaque--image-shadow .global-destaque__image-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        var(--gd-image-shadow-x)
        var(--gd-image-shadow-y)
        var(--gd-image-shadow-blur)
        var(--gd-image-shadow-spread)
        var(--gd-image-shadow-color);
    opacity: var(--gd-image-shadow-opacity);
}

.global-destaque__image-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

.global-destaque__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
}

.global-destaque--image-hover .global-destaque__image-shell {
    transition: transform var(--gd-image-hover-duration) cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.global-destaque--image-hover .global-destaque__image-wrap img {
    transition: transform var(--gd-image-hover-duration) cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.global-destaque--image-hover.global-destaque--image-shadow .global-destaque__image-shell::before {
    transition: transform var(--gd-image-hover-duration) ease, opacity var(--gd-image-hover-duration) ease;
}

@media (hover: hover) and (pointer: fine) {
    .global-destaque--image-hover .global-destaque__image-shell:hover {
        transform: translate3d(0, var(--gd-image-hover-y), 0);
    }

    .global-destaque--image-hover .global-destaque__image-shell:hover .global-destaque__image-wrap img {
        transform: scale(var(--gd-image-hover-scale));
    }

    .global-destaque--image-hover.global-destaque--image-shadow .global-destaque__image-shell:hover::before {
        transform: scale(1.018);
        opacity: min(1, calc(var(--gd-image-shadow-opacity) + .10));
    }
}

/* Entrada segura: o CSS nunca esconde conteúdo. O JS anima somente quando o widget entra na viewport. */
@media (prefers-reduced-motion: reduce) {
    .global-destaque .gd-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

@media (max-width: 1024px) {
    .global-destaque__container {
        width: 100%;
        max-width: 100% !important;
        min-height: 0;
        padding: 70px 10px;
    }

    .global-destaque__grid {
        flex-direction: column;
        gap: 42px;
    }

    .global-destaque__content,
    .global-destaque__media {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .global-destaque__media {
        margin-top: 0;
    }

    .global-destaque__image-shell {
        height: 520px;
    }

    .global-destaque__title {
        font-size: 38px;
    }

    .global-destaque__description {
        text-align: left;
        text-align-last: auto;
    }

    .global-destaque--mobile-image-first .global-destaque__grid {
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {
    .global-destaque--no-mobile-animation .gd-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .global-destaque__container {
        width: 100%;
        max-width: 100% !important;
        padding: 50px 10px;
    }

    .global-destaque__grid {
        gap: 34px;
    }

    .global-destaque__badge {
        width: auto;
        min-width: 165px;
    }

    .global-destaque__title {
        margin-top: 32px;
        font-size: 32px;
    }

    .global-destaque__description {
        font-size: 15px;
        line-height: 25px;
    }

    .global-destaque__features {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .global-destaque__feature {
        width: 100%;
    }

    .global-destaque__feature-title {
        white-space: normal;
    }

    .global-destaque__button {
        width: 100%;
        margin-top: 34px;
    }

    .global-destaque__image-shell {
        height: 360px;
    }
}
