/* =====================================================
   Shortcode: [da_abas]
   ===================================================== */

.da-abas {
    display: flex;
    gap: 153px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* ── Lista de abas (esquerda) ── */
.da-abas__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 496px;
    width: 496px;
}

.da-abas__item {
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #4d4d4d;
    cursor: pointer;
    transition: color 0.2s;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.da-abas__item:hover {
    color: #005ef7;
}

.da-abas__item.is-active {
    color: #005ef7;
}

/* Linha azul embaixo da aba ativa */
.da-abas__item.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60%;
    height: 2px;
    background: #005ef7;
    border-radius: 2px;
}

/* ── Dropdown de tópicos (mobile/tablet) — escondido no desktop ── */
.da-abas__select-wrap {
    display: none;
}

/* ── Painel de conteúdo (direita) ── */
.da-abas__panels {
    flex: 1;
    min-width: 0;
}

.da-abas__panel {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
}

.da-abas__panel[hidden] {
    display: none;
}

.da-abas__panel-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4d4d4d;
    margin: 0;
}

.da-abas__panel-intro {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4d4d4d;
    margin: -24px 0 0;
}

/* Grid de cards */
.da-abas__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.da-abas__card {
    background: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    width: calc(50% - 4px);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.da-abas__card img {
    display: block;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.da-abas__card p {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4d4d4d;
    margin: 0;
}

.da-abas__panel-footer {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4d4d4d;
    margin: 0;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1200px) {
    .da-abas {
        gap: 48px;
    }
    .da-abas__list {
        flex: 0 0 380px;
        width: 380px;
    }
}

@media (max-width: 900px) {
    .da-abas {
        flex-direction: column;
        gap: 0;
    }
    /* A lista vertical vira dropdown no mobile/tablet — ver .da-abas__select-wrap */
    .da-abas__list {
        display: none;
    }

    .da-abas__select-wrap {
        position: relative;
        display: block;
        width: 100%;
    }

    .da-abas__select {
        width: 100%;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 14px 44px 14px 16px;
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        color: #000;
        cursor: pointer;
        box-sizing: border-box;
        outline: none;
        -webkit-appearance: none;
        appearance: none;
        transition: border-color 0.2s;
    }

    .da-abas__select:focus {
        border-color: #005ef7;
    }

    .da-abas__select-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        pointer-events: none;
    }

    .da-abas__panels {
        width: 100%;
        margin-top: 24px;
    }

    .da-abas__card {
        width: calc(50% - 4px);
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .da-abas__card {
        width: 100%;
    }
    .da-abas__panel {
        padding: 24px 16px;
    }
}