/* Graphique de conversion */
.conversion-chart {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.conversion-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    z-index: -1;
    border-radius: 24px;
}

.chart-title {
    font-size: 1.1rem;
    color: #000B10;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-align: center;
    font-family: 'Rubik', sans-serif;
}

.chart-bars {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-grow: 1;
    align-items: flex-end;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 100px;
}

.bar-wrapper {
    width: 40px;
    height: 120px;
    background: #f5f5f5;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
}

.bar-before {
    background: linear-gradient(to top, #7C89FF, #9BA3FF);
}

.bar-after {
    background: linear-gradient(to top, #4CAF50, #66BB6A);
}

.bar-label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    font-family: 'Lato', sans-serif;
}

.bar-value {
    font-weight: 700;
    margin-top: 8px;
    font-size: 1rem;
    color: #000B10;
    font-family: 'Rubik', sans-serif;
}

.chart-increase {
    text-align: center;
    color: #4CAF50;
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 1s;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 15px auto 0;
    font-family: 'Rubik', sans-serif;
}

.conversion-chart.animate .chart-increase {
    opacity: 1;
    transform: translateY(0);
}

/* Animation des barres */
.conversion-chart.animate .bar-before {
    height: 40% !important;
}

.conversion-chart.animate .bar-after {
    height: 60% !important;
}

/* Effet de survol sur les barres */
.bar-container:hover .bar {
    filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .chart-bars {
        gap: 15px;
    }
    
    .bar-wrapper {
        width: 35px;
        height: 100px;
    }
    
    .chart-title {
        font-size: 1rem;
    }
    
    .bar-label {
        font-size: 0.8rem;
    }
    
    .bar-value {
        font-size: 0.9rem;
    }
}
