/* ─── YahYah Cases ──────────────────────────────────────────────────────────── */

.yah-cases-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: repeat(4, 1fr);
}

/* ─── Card ──────────────────────────────────────────────────────────────────── */

.yah-case-card {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ─── Foto ──────────────────────────────────────────────────────────────────── */

.yah-case-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.yah-case-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: transform 0.5s ease;
}

.yah-case-card:hover .yah-case-photo img {
    transform: scale(1.04);
}

/* Overlay gradiente */
.yah-case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 35%,
        rgba(0, 0, 0, 0.72) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 24px 20px;
}

/* ─── Nome ──────────────────────────────────────────────────────────────────── */

.yah-case-name {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

/* ─── Body ──────────────────────────────────────────────────────────────────── */

.yah-case-body {
    padding: 20px 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yah-case-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}

/* ─── Divisória ouro ────────────────────────────────────────────────────────── */

.yah-case-divider {
    width: 100%;
    height: 1px;
    background: rgba(195, 158, 82, 0.5);
    margin-bottom: 16px;
}

/* ─── Infos ─────────────────────────────────────────────────────────────────── */

.yah-case-infos {
    display: flex;
    gap: 20px;
}

.yah-case-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yah-info-val {
    color: #c39e52;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.yah-info-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

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

/* Mobile */
@media (max-width: 600px) {
    .yah-cases-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .yah-case-photo {
        aspect-ratio: 4 / 3;
    }
}

/* Suporte a coluna customizada (3 colunas) */
.yah-cases-grid.yah-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .yah-cases-grid.yah-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
