/*
==============================================================
SECTION: HERO
==============================================================
*/

/* Hero section */
.hero {
    /* background: linear-gradient(135deg, #522c7c 0%, #3a1d5a 100%); */
    background-color: #522c7c;
    background-image: url('/assets/img/bg-hero.png');
    background-blend-mode: soft-light;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    min-height: 20vh;
}

.hero .hero-title-highlight-light {
    color: var(--clPurple-light);
}

@media (min-width: 904px) {
    .hero {
        background: none;
        background-color: #522c7c;
        background-image: url('/assets/img/bg-hero.png');
        background-blend-mode: soft-light;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 20vh;
    }
}

/*
==============================================================
SECTION: CASES
==============================================================
*/

#cases {
    display: flex;
    align-items: center;
    justify-content: center;
}

#cases .container {
    align-items: center;
    justify-content: center;
}

/* Grid de cases */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 0;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    /* height: 53%; */
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-tag {
    display: inline-block;
    background: #f0e6ff;
    color: #522c7c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.case-text-container {
    height: 200px;
}

.case-title {
    font-size: 1.4rem;
    margin: 10px 0;
    color: #2a1454;
}

.case-button {
    display: inline-block;
    background: #522c7c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: background 0.3s;
}

.case-button:hover {
    background: #3a1d5a;
}

/* Responsividade */
@media (min-width: 904px) {

    .cases-grid {
       grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .case-title-container {
        height: 64px;
    }
}