/**
 * home-section-dedicada-6.css — estilos dedicados à seção home-section-dedicada-6
 */

.home-section-dedicada-6-img-wrap img {
    object-fit: cover;
    border-radius: 20px;
}

/* Bloco artigo com imagem - título, destaque e descrição */
.home-section-dedicada-6-artigo .home-section-dedicada-6-titulo {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.home-section-dedicada-6-artigo .home-section-dedicada-6-accent {
    color: rgb(3, 97, 86);
}

.home-section-dedicada-6-artigo .home-section-dedicada-6-desc {
    max-width: 800px;
}

/* ---------- Regras .ss-* (slider/accordion) ---------- */
.ss-section {
    padding: 60px 20px;
    background: #f8fafc42;
    border: 1px solid #e2e8f0;
    /* Tom escuro elegante */
    border-radius: var(--th-border-radius);
}

.ss-section p {
    color: white;
}

.ss-section h3 {
    color: white;
}

.ss-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ss-title {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    border-left: 4px solid #3b82f6;
    padding-left: 15px;
}

.ss-wrapper {
    display: flex;
    gap: 12px;
    height: 480px;
    width: 100%;
    /* Garante que o container não trema durante o redimensionamento dos filhos */
    align-items: stretch;
}

.ss-card {
    position: relative;
    flex: 0.5;
    /* Estado contraído */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    /* Suavidade Absoluta: Cubic-bezier específico para expansão */
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    /* Aceleração de Hardware */
    will-change: flex;
    transform: translateZ(0);
}

.ss-card.active {
    flex: 2.5;
    /* Estado expandido */
}

.ss-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, transparent 70%);
    z-index: 1;
}

.ss-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    z-index: 2;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.ss-info h3 {
    font-size: 24px;
    margin: 0;
    transition: transform 0.6s ease;
}

.ss-card:not(.active) h3 {
    /* transform: translateY(15px); */
    display: none;
}

.ss-card:not(.active) img {
    /* transform: translateY(15px); */
    display: none;
}

.ss-info p {
    font-size: 15px;
    line-height: 1.3;
    margin-top: 0px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.5s ease;
    max-width: 450px;
}

.ss-card.active .ss-info p {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.3s;
    /* Texto aparece após a expansão iniciar */
}

@media (max-width: 768px) {
    .ss-wrapper {
        flex-direction: column;
        height: 80vh;
    }

    .ss-card {
        flex: 1;
    }

    .ss-card.active {
        flex: 4;
    }
}

.home-section-dedicada-6-titulo svg {
    width: 54px;
    height: 54px;
    color: rgb(3, 97, 86);
}