#hero {
    color: black;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    color: white;
    text-align: center;
    min-width: 180px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;

    margin-top: 15px; /* ✅ Ajuste ici pour descendre le bouton */
}


.btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}
.btn-pink { background: #E81E6F; }
.btn-beige { background: #F4D1B8; color: #333; }
.btn-green { background: #8CC63F; }
.btn-yellow { background: #FBB03B; color: #333; }

#medias {
    text-align: center;
    padding: 30px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

#medias h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.media-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 200%;
    animation: slideLogos 12s linear infinite;
}

.media-logos img {
    width: 120px;
    margin: 0 15px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.media-logos img:hover {
    filter: grayscale(0%);
}

@keyframes slideLogos {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

#stats {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    width: 100%; 
}
#stats h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}


.stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.stat-item {
    background: #0096D7;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 150px;
    min-width: 140px;
}

.stat-item h3 {
    font-size: 28px;
    margin: 0;
    padding: 10px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

#video {
    text-align: center;
    padding: 40px;
   
    width: 100%;
}

#video h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

video {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
}

@media (max-width: 768px) {
   
#hero {
    padding: 30px 15px;
    margin-top: 0 !important;
    min-height: auto !important; 
}

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .media-logos {
        width: 300%;
    }

    .media-logos img {
        width: 80px;
        margin: 0 10px;
    }

    video {
        width: 90%;
    }

    body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    }

    main {
    margin-top: 0 !important; 
    padding-top: 0 !important;
    }
}


