/* =====================================================
   ADZEP CASES LISTING — ESTILOS
   ===================================================== */
.adzep-cases {
    --brand-purple: #612D91;
    --brand-purple-deep: #0B0413;
    --brand-purple-light: #F4EFF9;
    --brand-green: #0AA04A;
    --brand-green-light: #16D166;
    --text-header: #334155;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --border: rgba(15, 23, 42, 0.08);
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -10px rgba(97, 45, 145, 0.1);
}

/* --- TYPOGRAPHY --- */
.adzep-cases h1,
.adzep-cases h2,
.adzep-cases h3,
.adzep-cases h4,
.adzep-cases h5 {
    font-family: 'Quicksand', sans-serif;
    color: var(--brand-purple-deep);
}

/* --- PAGE HERO --- */
.adzep-cases .page-hero {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid rgba(97, 45, 145, 0.1);
    text-align: center;
}

.adzep-cases .breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.adzep-cases .breadcrumb a {
    color: var(--brand-purple);
    text-decoration: none;
    transition: 0.3s;
}

.adzep-cases .breadcrumb a:hover {
    text-decoration: underline;
}

.adzep-cases .page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.adzep-cases .page-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* --- BADGES --- */
.adzep-cases .category-badge {
    background: var(--brand-purple-light);
    color: var(--brand-purple);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    width: max-content;
    margin-bottom: 15px;
    text-decoration: none;
}

.adzep-cases .category-badge.green {
    background: #E6F6ED;
    color: var(--brand-green);
}

/* --- LISTING SECTION --- */
.adzep-cases .listing-section {
    padding: 60px 0 80px;
}

/* --- FILTER BAR --- */
.adzep-cases .filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.adzep-cases .filter-btn {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-header);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: inline-block;
}

.adzep-cases .filter-btn:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.adzep-cases .filter-btn.active {
    background: var(--brand-purple);
    border-color: var(--brand-purple);
    color: #fff;
    box-shadow: 0 5px 15px rgba(97, 45, 145, 0.2);
}

/* --- CASES GRID --- */
.adzep-cases .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.adzep-cases .case-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.adzep-cases .case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(97, 45, 145, 0.2);
}

.adzep-cases .case-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.adzep-cases .case-img-wrap img.case-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.adzep-cases .case-card:hover .case-cover {
    transform: scale(1.05);
}

.adzep-cases .case-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-purple-light) 0%, rgba(97,45,145,0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-purple);
    font-size: 3rem;
}

/* Client Logo flutuante */
.adzep-cases .client-logo {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.adzep-cases .client-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.adzep-cases .client-logo i {
    font-size: 2rem;
    color: var(--brand-purple);
}

/* Card content */
.adzep-cases .case-content {
    padding: 35px 25px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.adzep-cases .case-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--brand-purple-deep);
}

.adzep-cases .case-content p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Métrica destaque */
.adzep-cases .case-metric-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}

.adzep-cases .case-metric-highlight .highlight-value {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-green);
    line-height: 1;
}

.adzep-cases .case-metric-highlight .highlight-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.adzep-cases .read-more {
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Quicksand', sans-serif;
    margin-top: auto;
}

/* No results */
.adzep-cases .no-results {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    grid-column: 1 / -1;
}

.adzep-cases .no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.adzep-cases .no-results p {
    color: var(--text-muted);
}

/* --- PAGINATION --- */
.adzep-cases .pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.adzep-cases .pagination-wrap .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--text-header);
    background: #fff;
    border: 1px solid var(--border);
    transition: 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
}

.adzep-cases .pagination-wrap .page-numbers:hover:not(.current) {
    background: var(--brand-purple-light);
    color: var(--brand-purple);
    border-color: var(--brand-purple-light);
}

.adzep-cases .pagination-wrap .page-numbers.current {
    background: var(--brand-purple);
    color: #fff;
    border-color: var(--brand-purple);
}

.adzep-cases .pagination-wrap .page-numbers.prev,
.adzep-cases .pagination-wrap .page-numbers.next {
    width: auto;
    padding: 0 16px;
}

.adzep-cases .pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
}

/* --- CTA BANNER --- */
.adzep-cases .cta-banner {
    background: linear-gradient(135deg, var(--brand-purple-deep) 0%, var(--brand-purple) 100%);
    color: white;
    padding: 70px 40px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 80px;
    position: relative;
    overflow: hidden;
    gap: 30px;
}

.adzep-cases .cta-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.adzep-cases .cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.adzep-cases .cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.adzep-cases .btn-green-cta {
    background: var(--brand-green);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(10, 160, 74, 0.3);
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.adzep-cases .btn-green-cta:hover {
    background: var(--brand-green-light);
    transform: scale(1.05);
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .adzep-cases .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .adzep-cases .cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .adzep-cases .cases-grid {
        grid-template-columns: 1fr;
    }

    .adzep-cases .filter-bar {
        gap: 10px;
    }

    .adzep-cases .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .adzep-cases .cta-banner {
        padding: 40px 25px;
    }

    .adzep-cases .cta-content h2 {
        font-size: 1.8rem;
    }

    .adzep-cases .btn-green-cta {
        width: 100%;
        justify-content: center;
    }
}
