#inpsi-hero-carousel {
    --inpsi-hero-bg: #e45b95;
    --inpsi-hero-ink: #201b17;
    --inpsi-hero-muted: rgba(32, 27, 23, 0.78);
    --inpsi-hero-panel: rgba(255, 255, 255, 0.92);
    --inpsi-hero-panel-border: rgba(32, 27, 23, 0.15);
    --inpsi-hero-focus: #005fcc;
    position: relative;
    width: 100%;
    min-height: clamp(540px, 56.25vw, 780px);
    overflow: hidden;
    isolation: isolate;
    background: var(--inpsi-hero-bg);
    color: var(--inpsi-hero-ink);
    border-radius: 0;
}

#inpsi-hero-carousel,
#inpsi-hero-carousel * {
    box-sizing: border-box;
}

#inpsi-hero-carousel .inpsi-hero-stage {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: inherit;
    padding: clamp(28px, 5vw, 72px);
}

#inpsi-hero-carousel .inpsi-hero-wordmark {
    display: none;
}

#inpsi-hero-carousel .inpsi-hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    width: min(34rem, 48%);
    padding: clamp(20px, 2.5vw, 32px);
    border: 1px solid var(--inpsi-hero-panel-border);
    border-radius: 16px;
    background: var(--inpsi-hero-panel);
    box-shadow: 0 22px 58px rgba(32, 27, 23, 0.18);
}

#inpsi-hero-carousel .inpsi-hero-kicker {
    margin: 0 0 0.6rem;
    color: #1b6f9b;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

#inpsi-hero-carousel .inpsi-hero-title {
    max-width: none;
    margin: 0;
    font-size: clamp(3.6rem, 2.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

#inpsi-hero-carousel[data-state="adolescentes"] .inpsi-hero-title {
    font-size: clamp(3.3rem, 2.5vw, 3.8rem);
    white-space: nowrap;
}

#inpsi-hero-carousel .inpsi-hero-description {
    max-width: 32rem;
    margin: 1rem 0 0;
    color: var(--inpsi-hero-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.5;
}

#inpsi-hero-carousel .inpsi-hero-media,
#inpsi-hero-carousel .inpsi-hero-character,
#inpsi-hero-carousel .inpsi-hero-poster,
#inpsi-hero-carousel .inpsi-hero-main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#inpsi-hero-carousel .inpsi-hero-media {
    z-index: 1;
    pointer-events: none;
}

#inpsi-hero-carousel .inpsi-hero-character {
    overflow: hidden;
    background: var(--inpsi-hero-bg);
}

#inpsi-hero-carousel .inpsi-hero-poster,
#inpsi-hero-carousel .inpsi-hero-main-video,
#inpsi-hero-carousel .inpsi-hero-transition-video {
    display: block;
    border: 0;
    object-fit: cover;
    object-position: center top;
}

#inpsi-hero-carousel .inpsi-hero-poster {
    opacity: 0;
}

#inpsi-hero-carousel.is-media-fallback .inpsi-hero-poster,
#inpsi-hero-carousel[data-reduced-motion="true"] .inpsi-hero-poster {
    opacity: 1;
}

#inpsi-hero-carousel .inpsi-hero-main-video {
    z-index: 2;
    opacity: 0;
}

#inpsi-hero-carousel .inpsi-hero-character.is-video-playing .inpsi-hero-main-video {
    opacity: 1;
}

#inpsi-hero-carousel .inpsi-hero-transition {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    overflow: hidden;
    background-color: var(--inpsi-hero-bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#inpsi-hero-carousel .inpsi-hero-transition.is-active {
    opacity: 1;
    visibility: visible;
}

#inpsi-hero-carousel .inpsi-hero-transition-video {
    width: 100%;
    height: 100%;
    opacity: 1;
}

#inpsi-hero-carousel .inpsi-hero-controls {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
}

#inpsi-hero-carousel .inpsi-hero-button {
    display: inline-grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--inpsi-hero-panel-border);
    border-radius: 999px;
    background: var(--inpsi-hero-panel);
    color: var(--inpsi-hero-ink);
    box-shadow: 0 12px 34px rgba(32, 27, 23, 0.16);
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#inpsi-hero-carousel .inpsi-hero-button:hover {
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(32, 27, 23, 0.2);
    transform: translateY(-1px);
}

#inpsi-hero-carousel .inpsi-hero-button:focus-visible {
    outline: 3px solid var(--inpsi-hero-focus);
    outline-offset: 4px;
}

#inpsi-hero-carousel .inpsi-hero-button[hidden] {
    display: none;
}

#inpsi-hero-carousel .inpsi-hero-button svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#inpsi-hero-carousel .inpsi-hero-status {
    min-width: 10rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: var(--inpsi-hero-panel);
    color: var(--inpsi-hero-muted);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 28px rgba(32, 27, 23, 0.13);
}

@media (max-width: 980px) {
    #inpsi-hero-carousel {
        min-height: clamp(600px, 82vh, 720px);
    }

    #inpsi-hero-carousel .inpsi-hero-stage {
        grid-template-rows: auto 1fr auto;
        padding: 28px 22px;
    }

    #inpsi-hero-carousel .inpsi-hero-copy {
        align-self: start;
        width: min(31rem, 72%);
    }

    #inpsi-hero-carousel .inpsi-hero-title {
        font-size: clamp(3.4rem, 5vw, 4.2rem);
    }

    #inpsi-hero-carousel .inpsi-hero-controls {
        grid-row: 3;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    #inpsi-hero-carousel {
        min-height: 680px;
    }

    #inpsi-hero-carousel .inpsi-hero-stage {
        padding: 20px 16px;
    }

    #inpsi-hero-carousel .inpsi-hero-copy {
        position: absolute;
        right: 16px;
        bottom: 92px;
        left: 16px;
        width: auto;
        padding: 18px 20px;
        border-radius: 14px;
    }

    #inpsi-hero-carousel .inpsi-hero-title {
        font-size: clamp(2.8rem, 7.5vw, 3.2rem);
        line-height: 1.05;
    }

    #inpsi-hero-carousel[data-state="adolescentes"] .inpsi-hero-title {
        font-size: 2.8rem;
    }

    #inpsi-hero-carousel .inpsi-hero-description {
        max-width: 22rem;
        margin-top: 0.85rem;
        font-size: 1rem;
        line-height: 1.45;
    }

    #inpsi-hero-carousel .inpsi-hero-controls {
        gap: 0.45rem;
    }

    #inpsi-hero-carousel .inpsi-hero-button {
        width: 48px;
        height: 48px;
    }

    #inpsi-hero-carousel .inpsi-hero-status {
        min-width: 8.7rem;
        padding-inline: 0.55rem;
        font-size: 0.86rem;
    }
}

#brx-content #brxe-sv04.pg-kicker {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    #inpsi-hero-carousel .inpsi-hero-button {
        transition: none;
    }
}
