/* Estrutura Base */
.pto-tabs-wrapper {
    max-width: 98%;
    margin: 30px 0;
}

/* Navegação das Tabs (Desktop) */
.pto-tabs-nav {
    display: none;
}

/* Conteúdo das Tabs */
.pto-tab-content {
    width: auto;
    padding: 10px 20px 20px;
    margin: 30px 0;
    border-radius: 7px;
    background-color: #f0f4f1;
}

.stacked-header {
    color: #009e6e;
    font-size: 1.8em;
    margin-bottom: 30px;
}

/* --- RESPONSIVIDADE (Empilhado / Mobile) --- */
@media (min-width: 1050px) {
    .pto-tabs-wrapper {
        max-width: 100%;
        margin: 30px auto;
        border-radius: 7px;
        overflow: hidden;
    }

    /* Navegação das Tabs (Desktop) */
    .pto-tabs-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 0;
        justify-content: space-between;
        border-bottom: 2px solid #ddd;
        border-bottom: 0 solid #ddd;
    }

    .pto-tabs-nav button {
        color: #fff;
        font-family: "Nunito", Sans-serif;
        font-size: 12px;
        font-weight: bold;
        letter-spacing: -0.1px;
        text-transform: uppercase;
        cursor: pointer;
        padding: 1em 0.5em 0.6em;
        width: auto;
        flex-grow: 1;
        border: none;
        border-radius: 0;
        white-space: nowrap;
        background: #F4F4F4;
        background: linear-gradient(180deg, #347c69cc  0, #347c69 80%, #347c69 100%);
        transition: background 0.3s;
    }

    .pto-tabs-nav button:hover {
        color: #ffffff;
        border-radius: 0;
        background: #999999;
    }

    .pto-tabs-nav button.active {
        color: #347c69;
        font-weight: bold;
        padding: 1.20em 0.5em 1em;
        /* margin-bottom: -2px; */
        border-radius: 6px 6px 0 0;
        background: #eff4f0;
        /* border-bottom: 2px solid #fff; */
    }

    /* Conteúdo das Tabs */
    .pto-tabs-content {
        padding: 20px;
        margin: 0 0;
        width: auto;
        background-color: #eff4f0;

    }

    .pto-tab-content,
    .stacked-header {
        display: none;
    }

    .pto-tab-content.active {
        display: block;
        animation: fadeIn 0.4s;
        padding: 10px;
        margin: 0;
    }

}