/* Styles pour la section des bénéfices (anciennement community-features) */

/* Styles pour la section des bénéfices (anciennement community-features) */

/* Desktop Grid Layout */

/* Desktop Grid Layout */
@media (min-width: 992px) { /* Augmentation du breakpoint pour 4 colonnes */
    .community-features .mobile-slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px; /* Réduction de l'espacement */
        padding: 0; /* La largeur et le centrage sont gérés par le conteneur parent */
    }

    .community-features .mobile-slider-wrapper {
        overflow: visible; /* S'assurer que les ombres ne coupent pas */
    }

    .feature-item.big.slider-card {
        max-width: 100%; /* Occuper toute la cellule de la grille */
    }
}

.feature-item.big {
    background-color: #ffffff;
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    padding: 25px 20px; /* Ajustement du padding */
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacement réduit */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item.big:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-item .feature-icon {
    font-size: 1.6rem; /* Taille de l'icône emoji (réduite) */
    background-color: rgba(233, 231, 255, 0.5); /* Fond légèrement teinté */
    width: 50px;
    height: 50px;
    line-height: 1;
    color: #7C89FF;
}

.feature-item .feature-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 1.1rem; /* Taille de titre réduite */
    color: #000B10;
}

.feature-item .feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem; /* Taille de description réduite */
    color: #4A4A4A;
    line-height: 1.5;
}

/* Mobile Slider Layout */
@media (max-width: 768px) {
    .community-title-container {
        margin-bottom: 20px; /* Réduire l'espace sur mobile */
    }

    .mobile-slider-wrapper {
        overflow: hidden;
    }

    .mobile-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 10px 20px;
        margin: 0 -20px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: none; /* Firefox */
    }

    .mobile-slider::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .feature-item.big.slider-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        max-width: 85%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 480px) {
    .feature-item.big.slider-card {
        flex: 0 0 90%;
        max-width: 90%;
        padding: 25px;
    }

    .feature-item .feature-title {
        font-size: 1.1rem;
    }

    .feature-item .feature-desc {
        font-size: 0.9rem;
    }
}
.benefits-section {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.benefits-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #000B10;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 11, 16, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 11, 16, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.benefit-title {
    font-size: 1.5rem;
    color: #000B10;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

.benefit-desc {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.cta-button {
    background-color: #7C89FF;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.3);
}

.cta-button:hover {
    background-color: #6a77e8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 137, 255, 0.4);
}

.secondary-button {
    background-color: white;
    color: #7C89FF;
    border: 2px solid #7C89FF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.secondary-button:hover {
    background-color: #f8f9ff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-section .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
