/* ========================================
   🎁 SEÇÃO DE BENEFÍCIOS - SEMPRE CARROSSEL
   Desktop e Mobile
   ======================================== */
.trevus-benefits-section {
    padding: 0px 10px;
    background: #f5f5f5;
    margin: 0;
}

/* ✅ CONTAINER DO CARROSSEL */
.trevus-benefits-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ✅ WRAPPER COM OVERFLOW HIDDEN */
.trevus-benefits-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

/* ✅ TRACK DO CARROSSEL - SEMPRE FLEX */
.trevus-benefits-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 20px 0;
}

.trevus-benefits-grid::-webkit-scrollbar {
    display: none;
}

.trevus-benefits-grid:active {
    cursor: grabbing;
}

/* ✅ CARDS DO CARROSSEL - TAMANHO FIXO */
.trevus-benefit-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: benefitCardFadeIn 0.5s ease-out;
}

@keyframes benefitCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.trevus-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ✅ BOTÕES DE NAVEGAÇÃO (DESKTOP) */
.trevus-benefits-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #28a745;
    color: #28a745;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.trevus-benefits-btn:hover {
    background: #28a745;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.trevus-benefits-prev {
    left: 0;
}

.trevus-benefits-next {
    right: 0;
}

/* Container do ícone - círculo verde à ESQUERDA */
.trevus-benefit-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
    animation: benefitIconFloat 3s ease-in-out infinite;
}

/* Animação de flutuação */
@keyframes benefitIconFloat {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-8px);
    }
}

.trevus-benefit-card:hover .trevus-benefit-icon {
    animation: benefitIconBounce 0.6s ease;
}

@keyframes benefitIconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-12px); }
    50% { transform: translateY(-4px); }
    75% { transform: translateY(-8px); }
}

/* Ícones brancos */
.trevus-benefit-icon-emoji {
    font-size: 32px;
    line-height: 1;
    filter: brightness(0) invert(1);
}

.trevus-benefit-icon-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.trevus-benefit-icon-class {
    font-size: 32px;
    color: #ffffff !important;
}

/* Conteúdo do texto - À DIREITA DO ÍCONE */
.trevus-benefit-content {
    flex: 1;
    text-align: left;
}

.trevus-benefit-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.trevus-benefit-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

/* Indicador de auto-play */
.trevus-benefits-container::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: autoPlayIndicator 2s ease-in-out infinite;
    z-index: 100;
    opacity: 0.6;
}

@keyframes autoPlayIndicator {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.trevus-benefits-container:hover::before {
    background: #ffc107;
    animation: none;
}

/* ========================================
   🏆 "POR QUE COMPRAR CONOSCO?" - CARDS VERTICAIS
   ======================================== */
.trevus-why-buy-section {
    padding: 60px 20px;
    background: #ffffff;
    margin: 0;
}

.trevus-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 50px 0;
}

.trevus-why-buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cards verticais - ícone em cima */
.trevus-why-buy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trevus-why-buy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Ícone no topo - centralizado */
.trevus-why-buy-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.25);
    animation: whyBuyIconFloat 3s ease-in-out infinite;
}

@keyframes whyBuyIconFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
    }
}

.trevus-why-buy-card:hover .trevus-why-buy-icon {
    animation: whyBuyIconBounce 0.6s ease;
}

@keyframes whyBuyIconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-15px) scale(1.1); }
    50% { transform: translateY(-5px) scale(1.05); }
    75% { transform: translateY(-10px) scale(1.08); }
}

/* Ícones brancos */
.trevus-why-buy-icon svg,
.trevus-why-buy-icon i,
.trevus-why-buy-icon img {
    width: 40px;
    height: 40px;
    fill: #ffffff;
    color: #ffffff;
    filter: brightness(0) invert(1);
}

.trevus-why-buy-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.trevus-why-buy-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   📦 CARROSSEL DE CATEGORIAS
   ======================================== */
.trevus-categories-section {
    padding: 60px 20px;
    background: #ffffff;
    margin: 40px 0;
}

.trevus-categories-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.trevus-categories-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.trevus-categories-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 20px 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trevus-categories-track::-webkit-scrollbar {
    display: none;
}

.trevus-categories-track:active {
    cursor: grabbing;
}

/* Animação de entrada dos cards */
.trevus-category-card {
    min-width: 180px;
    max-width: 180px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    user-select: none;
    animation: categoryCardFadeIn 0.5s ease-out;
}

@keyframes categoryCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.trevus-category-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

.trevus-category-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.trevus-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trevus-category-card:hover .trevus-category-image img {
    transform: scale(1.1);
}

.trevus-category-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.trevus-categories-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #28a745;
    color: #28a745;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.trevus-categories-btn:hover {
    background: #28a745;
    color: #ffffff;
    animation: arrowPulse 0.6s ease-in-out;
}

/* Pulsação sutil nas setas quando hover */
@keyframes arrowPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.15);
    }
}

.trevus-categories-prev {
    left: 0;
}

.trevus-categories-next {
    right: 0;
}

/* Indicador visual de que o carrossel está em auto-play */
.trevus-categories-container::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: autoPlayIndicator 2s ease-in-out infinite;
    z-index: 100;
    opacity: 0.6;
}

/* Remove indicador quando hover (pause) */
.trevus-categories-container:hover::before {
    background: #ffc107;
    animation: none;
}

/* ========================================
   📱 RESPONSIVO
   ======================================== */
@media (max-width: 1024px) {
    .trevus-benefits-container,
    .trevus-categories-container {
        padding: 0 50px;
    }
    
    .trevus-why-buy-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .trevus-benefits-section,
    .trevus-why-buy-section,
    .trevus-categories-section {
        padding: 5px 5px;
        margin: 1px 0;
    }
    
    .trevus-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    /* ✅ BENEFÍCIOS - REMOVER BOTÕES NO MOBILE */
    .trevus-benefits-container {
        padding: 0;
    }
    
    .trevus-benefits-btn {
        display: none;
    }
    
    .trevus-benefit-card {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }
    
    .trevus-why-buy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trevus-benefit-icon,
    .trevus-why-buy-icon {
        width: 56px;
        height: 56px;
    }
    
    .trevus-benefit-icon-emoji,
    .trevus-benefit-icon-class {
        font-size: 28px;
    }
    
    .trevus-benefit-icon-image {
        width: 30px;
        height: 30px;
    }
    
    .trevus-why-buy-card {
        padding: 30px 20px;
    }
    
    .trevus-categories-container {
        padding: 0;
    }
    
    .trevus-categories-btn {
        display: none;
    }
    
    .trevus-category-card {
        min-width: 150px;
        max-width: 150px;
        padding: 15px;
    }
    
    .trevus-category-image {
        width: 100px;
        height: 100px;
    }
    
    .trevus-category-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .trevus-benefit-card {
        min-width: 260px;
        max-width: 260px;
        padding: 18px;
    }
    
    .trevus-benefit-icon,
    .trevus-why-buy-icon {
        width: 48px;
        height: 48px;
    }
    
    .trevus-benefit-icon-emoji,
    .trevus-benefit-icon-class {
        font-size: 24px;
    }
    
    .trevus-category-card {
        min-width: 130px;
        max-width: 130px;
        padding: 12px;
    }
    
    .trevus-category-image {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }
    
    .trevus-category-name {
        font-size: 13px;
    }
}
/* ========================================
   📱 BANNERS MOBILE
   ======================================== */
.mobile-banners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
    background: transparent;
}

.mobile-banners-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.mobile-banner-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    height: auto;
}

.mobile-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.mobile-banners-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.mobile-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mobile-banner-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.mobile-banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ✅ ESCONDER EM DESKTOP */
@media (min-width: 769px) {
    .mobile-banners-carousel {
        display: none;
    }
}