/* Animation mobile pour la section héro */

.mobile-animation {
    display: none; /* Caché par défaut, affiché uniquement sur mobile */
    width: 100%;
    margin: 1rem auto;
}

.mobile-ad-container {
    width: 100%;
    max-width: 92%;
    margin: 0 auto;
    perspective: 1000px;
}

.mobile-ad {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(0);
    animation: floatMobile 6s ease-in-out infinite;
}

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

.mobile-ad-header {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C89FF, #9b89ff);
    margin-right: 10px;
}

.mobile-brand-info {
    flex: 1;
}

.mobile-brand-name {
    font-weight: 600;
    font-size: 14px;
    color: #1c1e21;
    margin-bottom: 2px;
}

.mobile-ad-info {
    font-size: 11px;
    color: #65676b;
}

.mobile-ad-text {
    padding: 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #1c1e21;
    text-align: center;
}

.mobile-ad-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(120deg, #E9E7FF, #f9f9ff);
    overflow: hidden;
}

.mobile-ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-cta-button {
    background: #7C89FF;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.4);
    white-space: nowrap;
}

.mobile-social-proof {
    display: flex;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
}

.mobile-like,
.mobile-comment,
.mobile-share {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.mobile-emoji {
    margin-right: 5px;
    font-size: 16px;
}

.mobile-count {
    font-size: 12px;
    color: #65676b;
}

/* Animation pour les compteurs */
@keyframes countUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-count {
    display: inline-block;
    animation: countUp 0.5s ease-out forwards;
}
