/* ======= FEEDBACKS PAGE ======= */

.feedback-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(162, 178, 142, 0.05) 0%, rgba(245, 200, 176, 0.1) 100%);
}

.feedback-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-3colunas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px 0;
    max-width: 1150px;
    margin: auto;
}

@media (max-width: 1024px) {
    .container-3colunas {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 0;
    }
}

@media (max-width: 700px) {
    .container-3colunas {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
}

/* ======= COLUNAS ======= */

.coluna {
    background: linear-gradient(145deg, #ffffff 0%, #f8f5ee 100%);
    border-radius: 20px;
    padding: 25px 20px;
    border: 1px solid rgba(216, 166, 94, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(28, 61, 45, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 550px;
}

.coluna::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coluna:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(28, 61, 45, 0.1);
    border-color: rgba(216, 166, 94, 0.4);
}

.coluna:hover::before {
    opacity: 1;
}

.coluna::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(216, 166, 94, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.coluna:hover::after {
    opacity: 1;
}

.col-title {
    flex-shrink: 0;
    text-align: center;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.col-scroll {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.col-scroll::-webkit-scrollbar {
    width: 4px;
}

.col-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.col-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.col-footer {
    flex-shrink: 0;
    margin-top: 15px;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
    padding-top: 15px;
    border-top: 1px solid rgba(216, 166, 94, 0.2);
}

/* ======= CARDS ======= */

.card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(28, 61, 45, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(28, 61, 45, 0.08);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 0.8;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.emoji {
    font-size: 22px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.card:hover .emoji {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(216, 166, 94, 0.3);
}

.nome {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.3px;
}

.estrelas {
    color: #FFC107;
    margin-top: 4px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.texto {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.texto {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ======= STORIES ======= */

.story-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.story-content {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(28, 61, 45, 0.1);
    transition: all 0.3s ease;
}

.story-content:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(28, 61, 45, 0.15);
}

.story-video {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
    background: #000;
    border: none;
    outline: none;
}

.story-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.story-video::-webkit-media-controls-play-button {
    background-color: var(--secondary);
    border-radius: 50%;
}

.story-btn {
    background: white;
    border: 1px solid rgba(216, 166, 94, 0.3);
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(28, 61, 45, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.story-btn:hover {
    transform: scale(1.15);
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 6px 20px rgba(216, 166, 94, 0.3);
}

/* ======= PROGRESS BAR ======= */

.story-progress-bar {
    margin-top: 15px;
    width: 100%;
    height: 6px;
    background: rgba(48, 57, 34, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.story-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.story-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* ======= ANIMAÇÕES ======= */

.fade-in {
    animation: fadeIn 0.6s ease;
}

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

.coluna:not(:hover) {
    animation: gentleFloatCol 4s ease-in-out infinite;
    animation-delay: calc(var(--col-index, 0) * 0.5s);
}

@keyframes gentleFloatCol {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ======= HEADER DA SEÇÃO ======= */

.section-header {
    width: 100%;
    text-align: center;
    margin: 0 auto 40px auto;
    padding: 30px 20px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin: 0 auto 15px auto;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ======= RESPONSIVIDADE AVANÇADA ======= */

@media (max-width: 768px) {
    .feedback-section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .coluna {
        padding: 20px 15px;
        min-height: 500px;
    }
    
    .card {
        padding: 18px;
    }
    
    .emoji {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    
    .nome {
        font-size: 1rem;
    }
    
    .texto {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .coluna {
        padding: 15px;
        min-height: 450px;
    }
    
    .col-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .card {
        padding: 16px;
    }
    
    .story-btn {
        width: 36px;
        height: 36px;
    }
    
    .texto {
        -webkit-line-clamp: 3;
    }
}

/* ======= EFEITOS EXTRAS ======= */

.col-scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.9) 0%, 
        transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.col-scroll:has(.card:hover)::after {
    opacity: 1;
}

.story-video-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.story-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-video-container:hover::before {
    opacity: 1;
}