/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
}

/* ===== IMAGE DE FOND ===== */
.bg-image {
    background-image: url("../images/image10.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== HEADER ===== */
header {
    background: rgba(0,0,0,0.8);
    color: #fff;
    text-align: center;
    padding: 25px 15px;
}

.header-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.header-logos img {
    max-height: 70px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ===== ANNONCE ===== */
.announcement {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

/* ===== SLIDER ===== */
.slider-container {
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 15px;
    animation: scroll 20s linear infinite; /* défilement continu */
    width: max-content; /* pour s’adapter à toutes les images */
}

.slider-track img {
    height: 160px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* ===== BRAND ===== */
.brand {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.logo {
    max-width: 180px;
    margin-bottom: 15px;
}

/* ===== SOCIAL ===== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-links a {
    padding: 12px 18px;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    min-width: 120px;
    text-decoration: none;
}

.facebook { background: #1877f2; }
.instagram { background: #e1306c; }
.tiktok { background: #000; }
.whatsapp { background: #25d366; }

/* ===== AVIS BTN ===== */
.avis-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #ff9800;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-logos img { max-height: 50px; }
    .slider-track img { height: 120px; }

    /* animation plus douce sur mobile */
    .slider-track {
        animation: scroll 25s linear infinite;
    }

    .social-links { flex-direction: column; }
}

/* ===== ANIMATION ===== */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
