/* =========================================
   BARRA DE 3 ÍCONES/BENEFÍCIOS
   Barra animada com benefícios do site
   Feita pelo Igor
   ========================================= */

/* Estilos que podem ser facilmente copiados para o CSS customizado do Elementor */
.gbp-beneficios-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 15px; /* Reduzido de 20px para 15px */
    position: relative;
    overflow: hidden;
}

.gbp-beneficios-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: rotate 15s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gbp-beneficio-card {
    flex: 1;
    min-width: 300px;
    background: rgba(34, 34, 34, 0.8);
    border-radius: 12px;
    padding: 15px; /* Reduzido de 25px para 15px */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #4caf50;
}

.gbp-beneficio-card:hover {
    transform: translateY(-5px); /* Reduzido de -8px para -5px */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(40, 40, 40, 0.95);
}

.gbp-beneficio-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.gbp-beneficio-card:hover::after {
    transform: scaleX(1);
}

.gbp-shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    transform: translateX(-100%);
    transition: none;
    pointer-events: none;
}

.gbp-beneficio-card:hover .gbp-shine-effect {
    animation: shine 1.5s ease-in-out;
}

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

.gbp-beneficio-icon {
    width: 50px; /* Reduzido de 80px para 50px */
    height: 50px; /* Reduzido de 80px para 50px */
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Reduzido de 20px para 15px */
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

.gbp-beneficio-icon::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotate-slow 12s linear infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gbp-beneficio-icon-inner {
    width: 40px;
    height: 40px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gbp-beneficio-icon img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2)); /* Makes the icons white with shadow */
}

/* Special treatment for premium icon */
.premium-icon img {
    width: 28px;
    height: 28px;
}

.gbp-beneficio-content {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.gbp-beneficio-title {
    font-size: 1.1rem; /* Reduzido de 1.5rem para 1.1rem */
    margin: 0 0 5px 0; /* Reduzido de 12px para 5px */
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gbp-beneficio-title span {
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.gbp-beneficio-card:hover .gbp-beneficio-title span {
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.gbp-tag-especial {
    display: inline-block;
    background: #ff5722;
    color: white;
    padding: 2px 8px; /* Reduzido de 3px 10px para 2px 8px */
    border-radius: 20px;
    font-size: 0.65rem; /* Reduzido de 0.75rem para 0.65rem */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gbp-beneficio-desc {
    margin: 0;
    line-height: 1.4; /* Reduzido de 1.6 para 1.4 */
    font-size: 0.85rem; /* Reduzido de 1rem para 0.85rem */
    color: #cccccc;
}

/* Contador animado */
.gbp-counter {
    font-weight: bold;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.gbp-counter::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff9800, #ff5722);
}

/* Responsividade */
@media (max-width: 768px) {
    .gbp-beneficios-container {
        flex-direction: column;
    }

    .gbp-beneficio-card {
        width: 100%;
        margin-bottom: 10px; /* Reduzido de 15px para 10px */
    }
}
