.acoes {
    background: var(--soft);
}

.acoes__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 32px var(--space-md);
}

.acoes__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.acoes__title {
    font-size: 1.333rem;
    line-height: 1.2;
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.acoes__link {
    font-family: var(--font-sans);
    font-size: 0.8667rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--green);
    text-decoration: none;
}

.acoes__link:hover {
    text-decoration: underline;
}

/* slider */
.acoes__slider {
    position: relative;
}

.mySwiperAcoes {
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--paper);
}

@media (max-width:640px) {
    .mySwiperAcoes {
        height: 260px;
    }
}

.acoes__card {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.acoes__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acoes__img--placeholder {
    background: var(--soft-3);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: var(--font-sans);
    font-size: 0.8667rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.acoes__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    padding: 16px;
}

.acoes__cardTitle {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.8667rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.acoes__empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    background: var(--paper);
    margin: 12px;
}

html.contrast .mySwiperAcoes {
    border: 2px solid var(--border);
}

html.contrast .acoes__empty {
    background: var(--soft);
    border-color: #fff;
    color: #fff;
}

/* Setas Ações – alinhadas ao carrossel principal */
.mySwiperAcoes .acoesNav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 88px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    z-index: 5;
}

.mySwiperAcoes .acoesNav--prev {
    left: 12px;
}

.mySwiperAcoes .acoesNav--next {
    right: 12px;
}

.mySwiperAcoes .acoesNav::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin: auto;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.mySwiperAcoes .acoesNav--prev::after {
    border-right: 14px solid #4b5563;
}

.mySwiperAcoes .acoesNav--next::after {
    border-left: 14px solid #4b5563;
}

.mySwiperAcoes .acoesNav:focus-visible {
    outline: 3px solid rgba(30, 126, 52, .25);
    outline-offset: 3px;
}

.mySwiperAcoes .acoesNav.swiper-button-disabled {
    opacity: .45;
    cursor: default;
}

html.contrast .mySwiperAcoes .acoesNav {
    background: #000;
    border: 2px solid #fff;
    box-shadow: none;
}

html.contrast .mySwiperAcoes .acoesNav--prev::after {
    border-right-color: #ffeb3b;
}

html.contrast .mySwiperAcoes .acoesNav--next::after {
    border-left-color: #ffeb3b;
}

@media (max-width:768px) {
    .mySwiperAcoes .acoesNav {
        width: 44px;
        height: 72px;
    }

    .mySwiperAcoes .acoesNav--prev {
        left: 8px;
    }

    .mySwiperAcoes .acoesNav--next {
        right: 8px;
    }
}
