/* ===== SEÇÃO DEPOIMENTOS ===== */
.depoimentos {
    background-color: var(--azul-claro);
    background: linear-gradient(to bottom, #f0f8ff, #e0f0ff);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Padrão de pontos */
.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.7) 2px, transparent 0),
        radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.5) 3px, transparent 0);
    background-size: 100px 100px;
    opacity: 0.7;
    z-index: 1;
    animation: moveDots 120s linear infinite;
}

/* Gradiente de fundo */
.depoimentos::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(51, 86, 111, 0.03) 0%, 
                rgba(51, 86, 111, 0) 50%, 
                rgba(51, 86, 111, 0.04) 100%);
    z-index: 0;
}

/* Elementos decorativos flutuantes */
.depoimentos {
    --bubble-size-1: 80px;
    --bubble-size-2: 120px;
    --bubble-size-3: 60px;
    --bubble-size-4: 100px;
    --bubble-size-5: 40px;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes float-reverse {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes moveDots {
    0% { background-position: 0 0, 50px 50px; }
    100% { background-position: 1000px 1000px, 1050px 1050px; }
}

.depoimentos .decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
    opacity: 0.8;
    will-change: transform;
    box-shadow: 0 4px 20px rgba(51, 86, 111, 0.08);
}

.depoimentos .decoration-1 {
    width: var(--bubble-size-1);
    height: var(--bubble-size-1);
    top: 10%;
    left: 5%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(51, 86, 111, 0.03));
}

.depoimentos .decoration-2 {
    width: var(--bubble-size-2);
    height: var(--bubble-size-2);
    bottom: 15%;
    left: 8%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.35), rgba(51, 86, 111, 0.04));
}

.depoimentos .decoration-3 {
    width: var(--bubble-size-3);
    height: var(--bubble-size-3);
    top: 20%;
    right: 10%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(51, 86, 111, 0.02));
}

.depoimentos .decoration-4 {
    width: var(--bubble-size-4);
    height: var(--bubble-size-4);
    bottom: 10%;
    right: 5%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.38), rgba(51, 86, 111, 0.03));
}

.depoimentos .decoration-5 {
    width: var(--bubble-size-5);
    height: var(--bubble-size-5);
    top: 40%;
    left: 15%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.45), rgba(51, 86, 111, 0.02));
}

.depoimentos .container {
    position: relative;
    z-index: 2;
}

.depoimentos h2 {
    color: var(--azul-escuro-2);
    margin-bottom: var(--spacing-md);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.depoimentos h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--azul-medio), var(--azul-escuro-2));
    border-radius: 3px;
}

/* Estilos para carrossel de depoimentos */
.testimonials-carousel {
    margin-bottom: var(--spacing-lg);
    position: relative;
    margin-top: var(--spacing-lg);
    padding: 10px;
    overflow: visible;
}

.carousel-container {
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    max-width: 1200px;
    padding: 15px 10px 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Modificação para exibir 3 depoimentos por vez no desktop */
.carousel-item {
    flex: 0 0 33.333%;
    padding: 0 var(--spacing-sm);
    margin-bottom: 15px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.prev-btn,
.next-btn {
    background-color: var(--azul-medio);
    color: var(--branco);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    font-size: 1.25rem;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--azul-escuro-2);
    transform: scale(1.05);
}

.prev-btn:focus,
.next-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

.testimonial {
    background-color: var(--branco);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: 0 8px 25px rgba(26, 74, 115, 0.1);
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.9);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(26, 74, 115, 0.15);
}

.testimonial::before {
    content: '"';
    font-family: 'UniNeue', sans-serif;
    font-size: 8rem;
    color: var(--azul-medio);
    opacity: 0.15;
    position: absolute;
    top: -15px;
    left: 10px;
    line-height: 1;
    z-index: 0;
    transition: all 0.3s ease;
}

.testimonial::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--branco);
    transform: rotate(45deg);
    box-shadow: 3px 3px 5px rgba(26, 74, 115, 0.05);
    z-index: -1;
}

.testimonial:hover::before {
    opacity: 0.15;
    transform: scale(1.1);
}

.testimonial p {
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    color: var(--azul-escuro-2);
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
    text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.5);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(51, 86, 111, 0.1);
    padding-top: var(--spacing-sm);
}

.testimonial-author strong {
    color: var(--azul-escuro-2);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--azul-medio);
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Media Queries */
@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .testimonial p {
        font-size: 0.95rem;
    }
    
    .carousel-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .depoimentos {
        padding: var(--spacing-lg) 0;
    }
    
    .testimonial {
        padding: var(--spacing-sm);
    }
    
    .testimonial p {
        font-size: 0.9rem;
    }
} 