/* Section communauté de testeurs - Style moderne */
.community-section {
    background-color: #E9E7FF; /* Fond lavande pâle */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.community-title-container {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Wrapper pour contrôler le ratio et la position de la vidéo */
.community-demo-video {
    display: block;
    margin: 32px auto 0 auto;
    width: 92vw;
    max-width: 1050px;
    height: 590px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(124,137,255,0.13);
    object-fit: cover;
    background: #E9E7FF;
}

@media (max-width: 950px) {
    .community-section {
        padding: 60px 0;
    }
    
    .community-title-container {
        margin-bottom: 40px;
    }
    
    .community-demo-video {
        width: 85vw;
        max-width: 85vw;
        height: 53vw; /* Ratio 16:10 pour un effet ordinateur paysage standard */
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(124,137,255,0.15);
        object-position: center center;
        background-color: rgba(0, 0, 0, 0.03);
        margin: 30px auto;
    }
    
    .community-features {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature-item {
        max-width: 100%;
    }
    
    .feature-item.big {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .community-demo-video {
        height: 54vw; /* Même ratio 16:9 que sur desktop */
        border-radius: 8px;
    }
}

/* ---- Section ROAS ---- */
.roas-section {
    background: #fff;
    padding: 66px 0 54px 0;
}



.roas-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: #000B10;
    line-height: 1.18;
    margin: 0;
    letter-spacing: -0.01em;
    padding: 0;
    max-width: none;
    text-align: left;
}


.roas-title .roas-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #fff;
    padding: 5px 18px;
    border-radius: 30px;
    background-color: #7C89FF;
    box-shadow: 0 4px 15px rgba(124,137,255,0.11);
    transform: rotate(-1.5deg);
    z-index: 2;
}

@media (max-width: 700px) {
    .roas-title {
        font-size: 1.5rem;
        padding: 0 2vw;
        line-height: 1.3;
        text-align: center;
    }
    .roas-title .roas-highlight {
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 1.5rem;
        margin-top: 4px;
        display: inline-block;
    }
}

/* ---- Section Impact ---- */
.impact-section {
    background: #F0EEFF;
    padding: 80px 0;
    text-align: center;
}

.impact-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    color: #000B10;
    line-height: 1.3;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 800px;
    position: relative;
    letter-spacing: -0.01em;
    padding: 0 20px;
    text-align: center;
}

.impact-title .impact-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #7C89FF;
    padding: 5px 15px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    z-index: 2;
    margin: 15px -5px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 700px) {
    .impact-section {
        padding: 50px 0;
    }
    
    .impact-title {
        font-size: 1.5rem;
        padding: 0 15px;
        line-height: 1.3;
    }
    
    .impact-title .impact-highlight {
        padding: 5px 12px;
        border-radius: 18px;
        font-size: 1.5rem;
        transform: rotate(-1deg);
        margin: 4px -2px;
        display: inline;
    }
    
    /* S'assurer que tout le texte a la même taille */
    .impact-title {
        font-size: 1.5rem !important;
        line-height: 1.4;
        display: block;
        margin-bottom: 25px;
    }
    
    /* Forcer la taille uniforme sur tous les éléments enfants */
    .impact-title * {
        font-size: 1.5rem !important;
    }
    
    .impact-title span,
    .impact-title strong,
    .impact-title .impact-highlight {
        font-size: 1.5rem !important;
        vertical-align: baseline;
    }
}

/* Cartes de dashboard */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: #4A4AFF;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.dashboard-card p {
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
}

.dashboard-card .metric {
    font-size: 2.2rem;
    font-weight: 800;
    color: #4A4AFF;
    margin: 15px 0;
    display: block;
}

.dashboard-card .trend {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.trend.up {
    color: #00C48C;
}

.trend.down {
    color: #FF647C;
}

/* Effet brumeux */
.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 137, 255, 0.1) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.dashboard-card:hover::before {
    opacity: 1;
}

/* Effet de flou sur les côtés */
.dashboard-cards-container {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.dashboard-cards-container::before,
.dashboard-cards-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.dashboard-cards-container::before {
    left: 0;
    background: linear-gradient(90deg, #F0EEFF 0%, rgba(240, 238, 255, 0) 100%);
}

.dashboard-cards-container::after {
    right: 0;
    background: linear-gradient(270deg, #F0EEFF 0%, rgba(240, 238, 255, 0) 100%);
}

@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }
    
    .dashboard-cards-container::before,
    .dashboard-cards-container::after {
        width: 50px;
    }
}

/* ---- ROAS features row ---- */
.roas-features-row {
    display: flex;
    gap: 38px;
    margin: 48px 0 0 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.roas-feature-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(124, 137, 255, 0.12);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    flex: 1 1 0;
    width: 100%;
    min-height: 320px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 137, 255, 0.1);
    margin: 0 10px;
}
.roas-feature-text {
    width: 100%;
    margin-bottom: 18px;
}
.roas-feature-img {
    width: 100%;
    min-width: 100%;
    align-self: stretch; /* Ensure it stretches to fill card's width */
    min-height: 210px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(124,137,255,0.09);
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start; /* Align content (chat component) to the left */
    padding: 0;
    position: relative;
}
.roas-feature-img img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/6;
    object-fit: cover;
    border-radius: 0 0 24px 24px;
    background: transparent;
}
.roas-feature-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: 0 0 24px 24px;
    background: transparent;
}

/* Styles pour l'animation de validation de commentaires */
.comment-validation-animation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Changé pour centrer verticalement le contenu */
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

.comment-display-area {
    width: 100%;
    margin-bottom: 2px; /* Conservé, déjà réduit */
    padding: 14px 10px; /* 14px en haut/bas, 10px à droite/gauche */
    border: none; /* Suppression de la bordure */
    border-radius: 24px; /* Standard project radius */
    transition: background-color 0.4s ease, border-color 0.4s ease;
    background-color: #f9f9f9;
    /* S'assurer que la hauteur est suffisante pour le commentaire et le statut */
    min-height: 115px; /* Encore augmenté pour plus d'espace vertical */
}

.simulated-comment.socialproof-chat-message {
    display: flex;
    align-items: flex-start;
    gap: 5px; /* Espace harmonisé entre avatar et bulle */
    margin-bottom: 2px; /* Fortement réduit */
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: none;
}

.simulated-comment .socialproof-chat-avatar {
    margin-right: 10px;
    flex-shrink: 0;
}

.simulated-comment .socialproof-chat-avatar img {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    object-fit: cover;
}

.simulated-comment .socialproof-chat-bubble {
    background-color: #F2F2F2; /* Style de la bulle de chat de référence */
    padding: 10px 15px; /* Style de la bulle de chat de référence */
    border-radius: 18px; /* Style de la bulle de chat de référence */
    flex-grow: 1;
    max-width: calc(100% - 45px); /* Conserver l'ajustement pour l'avatar */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Style de la bulle de chat de référence */
}

.simulated-comment .socialproof-chat-user-name {
    font-family: 'Rubik', sans-serif; /* Style du nom d'utilisateur de référence */
    font-weight: 500; /* Style du nom d'utilisateur de référence */
    font-size: 14px; /* Style du nom d'utilisateur de référence */
    color: #000B10; /* Style du nom d'utilisateur de référence */
    margin-bottom: 4px; /* Style du nom d'utilisateur de référence */
}

.simulated-comment .socialproof-chat-text {
    font-family: 'Lato', sans-serif; /* Style du texte de référence */
    font-size: 13px; /* Style du texte de référence */
    color: #717171; /* Style du texte de référence */
    line-height: 1.4; /* Ajustement pour une meilleure lisibilité */
}

.comment-status-indicator {
    text-align: center;
    font-weight: bold;
    padding: 2px 0; /* Fortement réduit */
    font-size: 0.8em;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
    height: 18px;
    line-height: 18px;
    margin-top: 2px; /* Fortement réduit */
}

.comment-status-indicator.validated-status,
.comment-status-indicator.refused-status {
    opacity: 1;
}

.comment-status-indicator.validated-status {
    color: #7C89FF; /* Violet-bleu foncé de la palette */
}

.comment-status-indicator.refused-status {
    color: #FF647C; /* Rouge/rose du bouton Refuser */
}

.comment-display-area.validated {
    background-color: #F0EEFF; /* Violet clair */
    border-color: #d0c8ff; /* Bordure légèrement plus foncée */
}

.comment-display-area.refused {
    background-color: #FFE7EA; /* Rouge/rose très clair */
    border-color: #FFB8C1; /* Légèrement plus foncé que le fond */
}

.validation-buttons {
    display: flex;
    justify-content: center; /* Centrer les boutons */
    gap: 15px; /* Espace entre les boutons */
    width: 100%;
    margin-top: 10px; /* Espace désiré au-dessus des boutons */
}

.validation-btn {
    padding: 10px 18px; /* Augmenté pour un meilleur aspect */
    border: 1px solid transparent; /* Bordure subtile */
    border-radius: 8px; /* Plus arrondi */
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.9em; /* Légèrement plus grand */
    cursor: default; /* Curseur par défaut car c'est une animation */
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    min-width: 100px; /* Largeur minimale */
    box-shadow: 0 3px 6px rgba(0,0,0,0.08); /* Ombre plus douce */
}

.validation-btn:disabled {
    opacity: 0.7; /* Moins transparent lorsque désactivé */
    cursor: default;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Ombre réduite si désactivé */
    transform: none;
}

.validate-btn {
    background-color: #7C89FF;
    color: white;
    border-color: #7C89FF;
}

.validate-btn:hover:not(:disabled) {
    background-color: #6b77e2;
    border-color: #6b77e2;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(124,137,255,0.2);
}

.refuse-btn {
    background-color: #FF647C;
    color: white;
    border-color: #FF647C;
}

.refuse-btn:hover:not(:disabled) {
    background-color: #f05069;
    border-color: #f05069;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255,100,124,0.2);
}

/* S'assurer que le conteneur d'animation prend de la place */
.roas-feature-img .comment-validation-animation-container {
    min-height: 245px; /* Augmenté pour plus d'espace global à l'animation */
}
.roas-feature-text {
    width: 100%;
}
.roas-feature-img {
    width: 100%;
    align-self: stretch;
    height: auto;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(124,137,255,0.09);
    margin-top: 0;
    display: block;
    padding: 0;
}
.roas-feature-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: 0 0 24px 24px;
}
.roas-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
@media (max-width: 1100px) {
    .roas-features-row {
        flex-direction: column;
        gap: 28px;
        align-items: center;
        width: 100%;
        padding: 0 4%;
    }
    .roas-feature-card {
        max-width: 100%;
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 20px;
        margin: 0 auto;
        border-radius: 20px;
        box-shadow: 0 6px 20px rgba(124, 137, 255, 0.15);
        min-height: auto;
    }
    .roas-feature-text {
        flex: 1;
        margin-bottom: 0;
        padding-right: 20px;
    }
    .roas-feature-img {
        width: 40%;
        height: 140px;
        margin-top: 0;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
    .roas-feature-img img {
        border-radius: 12px !important;
        height: 100%;
        object-fit: cover;
    }
    
    /* Pour les très petits écrans */
    @media (max-width: 480px) {
        .roas-feature-card {
            flex-direction: column;
            padding: 16px;
        }
        .roas-feature-text {
            padding-right: 0;
            margin-bottom: 16px;
        }
        .roas-feature-img {
            width: 100%;
            height: 120px;
        }
    }
}

.roas-features-row {
    display: flex;
    gap: 38px;
    margin: 48px 0 0 0;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}
@media (min-width: 700px) {
    .roas-feature-card {
        width: 50%;
    }
}

.roas-feature-card:hover {
    box-shadow: 0 8px 32px rgba(124,137,255,0.18);
}
.roas-feature-text {
    flex: 1 1 0;
}
.roas-feature-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.22rem;
    color: #000B10;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.roas-feature-desc {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #7C89FF;
    opacity: 0.94;
}
.roas-feature-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    height: 170px;
    width: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(124,137,255,0.09);
}
.roas-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
@media (max-width: 1100px) {
    .roas-features-row {
        flex-direction: column;
        gap: 28px;
        align-items: stretch;
    }
    .roas-feature-card {
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 12px;
    }
    .roas-feature-img {
        width: 100%;
        height: 150px;
        margin-top: 18px;
    }
}



/* ---- Features sous la vidéo ---- */
.community-features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin: 48px auto 0 auto;
    max-width: 1200px;
    padding: 0 16px;
}

/* Style pour le desktop */
@media (min-width: 701px) {
    .mobile-slider {
        display: flex;
        flex-direction: row;
        gap: 40px;
        width: 100%;
    }
    
    .slider-indicators {
        display: none;
    }
}

.feature-item {
    flex: 1 1 0;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 12px rgba(124,137,255,0.06);
    padding: 28px 18px 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    max-width: 340px;
}

/* Transition uniquement sur desktop */
@media (min-width: 701px) {
    .feature-item {
        transition: box-shadow 0.2s;
    }
}

.feature-item.big {
    padding: 22px 20px 18px 20px;
    min-width: 220px;
    max-width: 420px;
}

.feature-item.big .feature-icon svg {
    width: 42px;
    height: 42px;
}

.feature-item.big .feature-icon {
    margin-bottom: 10px;
}

.feature-item.big .feature-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-item.big .feature-desc {
    font-size: 0.98rem;
    line-height: 1.4;
}

.community-features {
    gap: 54px;
}

/* Effet hover désactivé sur les cartes du slider */
@media (min-width: 701px) {
    .feature-item:hover {
        box-shadow: 0 6px 24px rgba(124,137,255,0.16);
    }
}
.feature-icon {
    margin-bottom: 18px;
}
.feature-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #000B10;
    margin-bottom: 7px;
    text-align: center;
}
.feature-desc {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #7C89FF;
    text-align: center;
    opacity: 0.92;
}

@media (max-width: 900px) {
    .community-features {
        gap: 18px;
    }
    .feature-item {
        padding: 18px 6px 14px 6px;
        min-width: 120px;
    }
}

@media (max-width: 700px) {
    .community-features {
        margin-top: 40px;
        width: 100%;
        overflow: hidden;
    }
    
    /* Styles pour le slider mobile */
    .mobile-slider-wrapper {
        width: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-slider {
        display: flex;
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
        transition: transform 0.3s ease;
    }
    
    .mobile-slider::-webkit-scrollbar {
        display: none; /* Pour Chrome, Safari et Opera */
    }
    
    .mobile-slider .feature-item.slider-card {
        flex: 0 0 85%;
        max-width: 85%;
        margin: 0 auto;
        margin-right: 15px;
        scroll-snap-align: center;
        box-shadow: 0 4px 20px rgba(124,137,255,0.15) !important;
        border-radius: 18px;
        transform: none !important;
        transition: none !important;
    }
    
    /* Désactiver explicitement tous les effets de survol sur mobile */
    .mobile-slider .feature-item.slider-card:hover,
    .feature-item:hover,
    .community-features .feature-item:hover,
    .mobile-slider-wrapper .feature-item:hover,
    .mobile-slider * :hover {
        box-shadow: 0 4px 20px rgba(124,137,255,0.15) !important;
        transform: none !important;
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .mobile-slider .feature-item.slider-card:last-child {
        margin-right: 0;
    }
    
    /* Indicateurs de slide */
    .slider-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(124, 137, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background-color: #7C89FF;
        width: 24px;
        border-radius: 4px;
    }
    
    .feature-item {
        max-width: 100%;
        width: 100%;
        padding: 22px 18px;
    }
}



@media (max-width: 1350px) {
    .community-demo-video {
        width: 96vw;
        height: 54vw; /* 16:9 ratio */
        max-width: 100vw;
        max-height: 70vw;
    }
}

@media (max-width: 900px) {
    .community-demo-video {
        height: 40vw;
        max-width: 98vw;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .community-demo-video {
        height: 32vw;
        max-width: 99vw;
        border-radius: 8px;
    }
}


@media (max-width: 900px) {
    .community-demo-video {
        height: 220px;
        max-width: 98vw;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .community-demo-video {
        height: 140px;
        max-width: 99vw;
        border-radius: 8px;
    }
}


.community-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #000B10;
    line-height: 1.1;
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    position: relative;
    letter-spacing: -0.02em;
    padding: 0 20px;
}

/* Style pour l'élément mis en évidence, similaire à celui de la section stats */
.community-title .community-highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #7C89FF;
    padding: 5px 15px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    z-index: 2;
    margin: 15px -5px 0; /* Ajout de marge supérieure */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation pour l'élément community-highlight */
@keyframes popIn {
    0% {
        transform: rotate(-2deg) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: rotate(-2deg) scale(1.05);
    }
    70% {
        transform: rotate(-2deg) scale(0.95);
    }
    100% {
        transform: rotate(-2deg) scale(1);
        opacity: 1;
    }
}

/* Animation de rebond subtile */
@keyframes float {
    0% {
        transform: rotate(-2deg) translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }
    50% {
        transform: rotate(-2deg) translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    100% {
        transform: rotate(-2deg) translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }
}

.community-title-container.visible .community-highlight {
    animation: popIn 0.8s forwards;
}

/* Animation d'entrée du titre */
/* Animation d'entrée du titre principal */
@keyframes slideFromBottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.visible .community-title {
    animation: slideFromBottom 0.8s forwards;
}

/* Responsive design */
@media (max-width: 768px) {
    .community-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .community-features {
        margin-top: 40px; 
    }
}

/* Ajustement pour les petits mobiles */
@media (max-width: 480px) {
    .community-demo-video {
        width: 85vw;
        height: 58vw; /* Ajustement pour écrans plus petits - ratio plus adapté à un ordinateur */
        border-radius: 8px;
        margin: 20px auto;
    }
}

@media (max-width: 576px) {
    .community-title {
        font-size: 1.5rem;
    }
    
    /* Ajuster également le highlight pour qu'il soit cohérent */
    .community-title .community-highlight {
        font-size: 1.5rem;
        padding: 4px 10px;
    }
}
