/* css/FeedBackStyle.css */

#feedback {
    padding: clamp(60px, 10vw, 120px) 0;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden; /* Mantido para conter animações */
}

/* --- ESTADOS DE REVEAL --- */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.active-reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feedback-header {
    text-align: center;
    margin-bottom: 60px;
}

.trust-score {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.trust-score .stars-row {
    color: #ffb800;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.trust-score span {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Ajustes no container para garantir limite de fluxo */
.container-feedback-flow {
    width: 100%;
    position: relative;
    padding: 40px 0; /* Removido padding bottom excessivo */
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* CORREÇÃO CRÍTICA: Removido overflow: visible */
.feedback-swiper {
    padding: 20px 0 40px 0 !important; /* Espaço apenas para os bullets */
    overflow: hidden !important; /* Impede que o conteúdo empurre o layout */
    height: auto !important;
}

.swiper-wrapper {
    align-items: stretch; /* Alinha o wrapper ao container */
    height: auto !important;
    align-items: flex-start !important;
}

.swiper-slide {
    height: auto !important;
}

/* A solução final: impedir que o hover empurre o footer */
.feedback-print-card {
    background: #121212;
    border-radius: 30px;
    padding: clamp(8px, 2vw, 12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    min-width: 280px;
    backface-visibility: hidden;
    margin-top: 20px; /* Margem para comportar o efeito de hover */
}

.feedback-img-wrapper {
    width: 100%;
    aspect-ratio: 1080 / 1000;
    border-radius: 22px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-print-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.feedback-print-card:hover {
    transform: translateY(-20px);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 30px 60px rgba(255, 0, 128, 0.15);
}

.feedback-print-card:hover img {
    transform: scale(1.05);
}

.feedback-footer-tags {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.source-tag {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    padding: 8px 15px;
    border-radius: 100px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-tag.google {
    border-color: #25D366;
    color: #25D366;
}

.source-tag .dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.stars-badge {
    color: #ffb800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 5px rgba(255, 184, 0, 0.5));
}

.feedback-pagination .swiper-pagination-bullet {
    background: #444;
    opacity: 1;
}

.feedback-pagination .swiper-pagination-bullet-active {
    background: var(--accent-gradient);
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .feedback-img-wrapper { height: auto; }
    .section-title { font-size: 1.5rem; }
    .feedback-footer-tags {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        bottom: 15px;
        left: 15px;
    }
}