.depoimentos {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, #fbf8f5, #f2eae1);
    position: relative;
    overflow: hidden;
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(124, 90, 66, 0.15), transparent);
    border-image-slice: 1;
    max-width: 100%;
}

.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M54 22c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm36 18c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm36 18c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4zm-18 0c-1.8 0-4 1.6-4 4 0-1.8-1.6-4-4-4 2.4 0 4-1.2 4-4 0 2.4 1.2 4 4 4z" fill="%23dccbba" fill-opacity="0.15" fill-rule="evenodd"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.depoimentos .container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.depoimentos-titulo {
    text-align: center;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

.depoimentos-subtitulo {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-gray);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Layout de mosaico para depoimentos */
.depoimentos-mosaico {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: var(--spacing-md);
    width: 100%; 
    margin: 0 auto;
    animation: fadeInMosaico 0.8s ease-out;
}

@keyframes fadeInMosaico {
    from {
    opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout de mosaico diferenciado para criar um visual mais dinâmico */
.depoimento-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.1s both;
}

.depoimento-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.2s both;
}

.depoimento-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.3s both;
}

.depoimento-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.4s both;
}

.depoimento-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.5s both;
}

.depoimento-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
    transform: translateY(0);
    animation: fadeIn 0.5s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
    opacity: 1;
        transform: translateY(0);
    }
}

.depoimento-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(124, 90, 66, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 90, 66, 0.15);
    z-index: 2;
}

.depoimento-conteudo {
    padding: var(--spacing-md);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.depoimento-aspas {
    color: var(--color-leather);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.3;
}

.depoimento-texto {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
    position: relative;
    font-style: italic;
    flex-grow: 1;
}

.depoimento-cliente {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(124, 90, 66, 0.1);
    padding-top: var(--spacing-sm);
    margin-top: auto;
}

.cliente-info {
    display: flex;
    flex-direction: column;
}

.cliente-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-leather);
    margin-bottom: 5px;
}

.cliente-info p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
}

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

    .depoimento-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .depoimento-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .depoimento-card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
}

    .depoimento-card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
}

    .depoimento-card:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
}

    .depoimento-card:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }
}

.card-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .depoimentos {
        padding: var(--spacing-lg) 0;
    }
    
    .depoimentos-titulo {
        font-size: 2rem;
    }
    
    .depoimentos-subtitulo {
        font-size: 1rem;
        padding: 0 var(--spacing-md);
    }
    
    .depoimentos-mosaico {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .depoimento-card:nth-child(n) {
        grid-column: 1;
    }
    
    .depoimento-card:nth-child(1) { grid-row: 1; }
    .depoimento-card:nth-child(2) { grid-row: 2; }
    .depoimento-card:nth-child(3) { grid-row: 3; }
    .depoimento-card:nth-child(4) { grid-row: 4; }
    .depoimento-card:nth-child(5) { grid-row: 5; }
    .depoimento-card:nth-child(6) { grid-row: 6; }
} 