/* Depoimentos */
.depo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.depo-card-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(20, 23, 30, 0.98), rgba(9, 11, 16, 0.98));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.depo-hero {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: linear-gradient(135deg, #302a1b, #12151c 70%);
}

.depo-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) saturate(1.05);
    transition: transform 300ms ease, filter 300ms ease;
}

.depo-hero-img.image-error,
.depo-avatar.image-error {
    opacity: 0;
}

.depo-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.06) 20%, rgba(5, 5, 5, 0.82) 100%);
}

.depo-company-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(8, 10, 14, 0.78);
}

.depo-company-name {
    margin: 0;
    color: #f5d060;
    font-weight: 700;
    font-size: 0.9rem;
}

.depo-company-industry {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.7rem;
}

.depo-metrics-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.depo-metric-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.8rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(245, 208, 96, 0.45);
    border-radius: 10px;
    background: rgba(8, 10, 14, 0.82);
}

.depo-metric-val {
    color: #f5d060;
    font-size: 0.95rem;
    font-weight: 800;
}

.depo-metric-lbl {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.depo-card {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.4rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.depo-stars {
    color: #f5d060;
}

.depo-stars svg {
    width: 1rem;
    height: 1rem;
}

.depo-text {
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.9rem;
    line-height: 1.7;
}

.depo-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(245, 208, 96, 0.8);
    border-radius: 50%;
    background: #27251e;
    object-fit: cover;
}

.depo-author-name {
    color: #fff;
    font-weight: 700;
}

.depo-author-role {
    margin-top: 0.2rem;
    color: #9ca3af;
}

@media (min-width: 640px) {
    .depo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .depo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .depo-card-wrap:hover {
        transform: translateY(-4px);
        border-color: rgba(245, 208, 96, 0.6);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.12);
    }

    .depo-card-wrap:hover .depo-hero-img {
        transform: scale(1.03);
        filter: brightness(0.96) saturate(1.1);
    }
}

@media (max-width: 639px) {
    .depo-grid {
        max-width: 480px;
        gap: 1rem;
    }

    .depo-hero {
        aspect-ratio: 16 / 10;
    }

    .depo-card {
        padding: 1.15rem !important;
    }
}
