/* ============================================
   HERO COMO FUNCIONA - WITH IMAGE
   ============================================ */
.hero-como-funciona {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
    overflow: hidden;
    position: relative;
}

.hero-como-funciona::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-side h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(5, 150, 105, 0.4);
}

.btn-primary-large i {
    transition: transform 0.3s ease;
}

.btn-primary-large:hover i {
    transform: translateX(5px);
}

.hero-image-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

/* Floating cards animation */
.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.floating-card.card-1 {
    top: 15%;
    right: -10%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    animation-delay: 0s;
}

.floating-card.card-1 i {
    color: white;
}

.floating-card.card-2 {
    bottom: 10%;
    left: -10%;
    background: white;
    color: var(--text-dark);
    animation-delay: 1s;
}

.floating-card.card-2 i {
    color: #f59e0b;
    font-size: 1.8rem;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text-side {
        text-align: center;
    }
    
    .hero-text-side h1 {
        font-size: 2.5rem;
    }
    
    .hero-features-list {
        justify-content: center;
    }
    
    .btn-primary-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none; /* Masquer sur mobile pour simplifier */
    }
}

@media (max-width: 600px) {
    .hero-como-funciona {
        padding: 60px 0;
    }
    
    .hero-text-side h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}
