/* ===========================================
   MSB Identity Tabs Component
   Design consistente com o restante do site
   =========================================== */

/* Container principal - wrapper puro sem classes Elementor */
.msb-identity-wrapper {
    background-color: #142D5A !important;
    background: #142D5A !important;
    width: 100% !important;
    padding: 40px 0 !important;
    box-sizing: border-box;
}

.msb-identity-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header da seção - padrão do site */
.msb-identity-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 12px;
}

.msb-identity-title {
    font-family: "Poppins", Sans-serif;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.5em;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.msb-identity-subtitle {
    font-family: "Poppins", Sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 2em;
    color: #FFFFFFEB;
    max-width: 600px;
    margin: 0 auto;
}

/* Navegação das abas - estilo botão do site */
.msb-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    padding: 0 12px;
}

.msb-tab-btn {
    font-family: "Poppins", Sans-serif;
    padding: 12px 32px;
    font-size: 1em;
    font-weight: 600;
    color: #FFFFFFEB;
    background: transparent;
    border: 2px solid #A5CC42;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.msb-tab-btn:hover {
    background: #A5CC42;
    color: #142D5A;
}

.msb-tab-btn.active {
    background: #A5CC42;
    color: #142D5A;
}

/* Conteúdo das abas */
.msb-tabs-content {
    position: relative;
}

.msb-tab-panel {
    display: none;
    animation: msbFadeIn 0.4s ease-out;
}

.msb-tab-panel.active {
    display: block;
}

@keyframes msbFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Conteúdo de Missão e Visão */
.msb-mission-content,
.msb-vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 20px;
}

.msb-quote-icon {
    color: #A5CC42;
    margin-bottom: 20px;
}

.msb-quote-icon svg {
    width: 40px;
    height: 40px;
}

.msb-main-quote {
    font-family: "Poppins", Sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.5em;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    quotes: none;
}

.msb-main-quote::before {
    content: '"';
    color: #A5CC42;
}

.msb-main-quote::after {
    content: '"';
    color: #A5CC42;
}

.msb-description {
    font-family: "Poppins", Sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 2em;
    color: #FFFFFFEB;
}

/* Seção de Valores */
.msb-values-intro {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 12px;
}

.msb-values-intro h3 {
    font-family: "Poppins", Sans-serif;
    font-size: 1.75em;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.msb-values-intro p {
    font-family: "Poppins", Sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 2em;
    color: #FFFFFFEB;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de valores - 3 colunas desktop, seguindo padrão do site */
.msb-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 12px;
}

/* Cards de valores - estilo consistente com o site */
.msb-value-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid rgba(165, 204, 66, 0.2);
    transition: all 0.3s ease;
}

.msb-value-card:hover {
    background: rgba(165, 204, 66, 0.05);
    transform: translateY(-4px);
    border-color: rgba(165, 204, 66, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Barra superior dos cards - cor accent do site */
.msb-value-card::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 2px;
    background: #A5CC42;
}

.msb-value-number {
    font-family: "Poppins", Sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    color: #A5CC42;
    opacity: 0.7;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.msb-value-card h4 {
    font-family: "Poppins", Sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

.msb-value-phrase {
    font-family: "Poppins", Sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    color: #A5CC42;
    padding: 8px 12px;
    background: rgba(165, 204, 66, 0.1);
    border-radius: 4px;
    border-left: 3px solid #A5CC42;
    margin-bottom: 12px;
}

.msb-value-desc {
    font-family: "Poppins", Sans-serif;
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.8em;
    color: #FFFFFFCC;
    margin-bottom: 16px;
}

/* DNA do Colaborador */
.msb-value-dna {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.msb-dna-label {
    display: block;
    font-family: "Poppins", Sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A5CC42;
    margin-bottom: 6px;
}

.msb-value-dna p {
    font-family: "Poppins", Sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.7em;
    color: #FFFFFFBB;
    margin: 0;
}

/* ===========================================
   RESPONSIVIDADE
   =========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .msb-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Último card centralizado */
    .msb-value-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .msb-identity-section {
        --padding-top: 30px;
        --padding-bottom: 30px;
    }

    .msb-identity-title {
        font-size: 1.75em;
    }

    .msb-identity-subtitle {
        font-size: 0.85em;
    }

    .msb-tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0 20px;
    }

    .msb-tab-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95em;
    }

    .msb-main-quote {
        font-size: 1.25em;
    }

    .msb-mission-content,
    .msb-vision-content {
        padding: 24px 16px;
    }

    .msb-values-intro h3 {
        font-size: 1.5em;
    }

    .msb-values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .msb-value-card:last-child {
        max-width: 100%;
    }

    .msb-value-card {
        padding: 20px;
    }

    .msb-value-card h4 {
        font-size: 1.1em;
    }

    .msb-value-phrase {
        font-size: 0.85em;
    }

    .msb-value-desc {
        font-size: 0.8em;
    }

    .msb-value-dna p {
        font-size: 0.75em;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .msb-identity-header {
        padding: 0 16px;
    }

    .msb-tabs-nav {
        padding: 0 16px;
    }

    .msb-identity-title {
        font-size: 1.5em;
    }
}
