* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #222;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* HEADER AMÉLIORÉ */
.header-rounded {
    background-color: #A01C34;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    overflow: hidden;
    position: relative;
}

.header-rounded img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.description {
    max-width: 800px;
    font-weight: 500;
    margin: 0 auto;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    padding: 1rem;
}

/* SLIDER RESPONSIVE AMÉLIORÉ */
.product-slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title {
    margin: 20px auto;
    background-color: #b50035;
    color: white;
    width: fit-content;
    padding: 15px 25px;
    border-radius: 120px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.product-slider {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}


.product-slider img {
    width: 80%;
    margin: 0 auto;
}

.product img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product .info h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

/* MOSAÏQUE RESPONSIVE */
.image-mosaic {
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 1rem;
}

.mosaic-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.mosaic-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mosaic-item:hover img {
    transform: scale(1.05);
}

.mosaic-item:nth-child(1) {
    grid-column: span 2;
}

/* CATÉGORIES RESPONSIVE */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 916px;
}

.category {
    background-color: #A01C34;
    color: white;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    gap: 10px;
}

.category:hover {
    transform: translateY(-3px);
    background-color: #8a1529;
}

.category i {
    font-size: 1.3rem;
}

/* RÉSEAUX SOCIAUX */
.social-media {
    margin: 2rem 0;
}

.social-media h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: #A01C34;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #8a1529;
}

.social-icon i {
    font-size: 1.3rem;
    color: white;
}

/* FOOTER ET CARTE */
footer {
    background-color: #A01C34;
    padding: 2rem 0;
    color: white;
}

.magasin {
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    background-color: white;
    color: black;
    border-radius: 20px;
    margin: 0 auto;
}

.magasin h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    text-align: center;
}

.map-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.map-info {
    flex: 1;
    min-width: 250px;
}

.map-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #A01C34;
}

.map-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.map-wrapper {
    flex: 2;
    min-width: 300px;
    height: 300px;
}

.map-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.map-info {
    flex: 1;
    min-width: 250px;
}

.map-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #A01C34;
}

.map-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.map-wrapper {
    flex: 2;
    min-width: 300px;
    height: 300px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #A01C34;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }

/* MEDIA QUERIES RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .header-rounded {
        padding: 2rem 1rem;
    }

    .image-mosaic {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }

    .mosaic-item:nth-child(1) {
        grid-column: span 2;
    }

    .map-container {
        gap: 1.5rem;
    }
}

@media (max-width: 782px) {
    .map-container {
        display: block;
    }
}


@media (max-width: 768px) {
    .header-rounded {
        padding: 1.5rem 1rem;
    }

    .header-rounded img {
        max-width: 220px;
    }

    /* Mosaïque mobile */
    .image-mosaic {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0.5rem;
    }

    .mosaic-item:nth-child(1) {
        grid-column: span 1;
    }

    .mosaic-item img,
    .mosaic-item:nth-child(1) img {
        height: 200px;
    }

    /* Catégories mobile */
    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 1.5rem auto;
    }

    .category {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .category i {
        font-size: 1.1rem;
    }

    /* Footer mobile */
    .magasin {
        padding: 1.5rem;
    }

    .map-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .map-wrapper {
        height: 250px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header-rounded {
        border-radius: 0;
    }

    .container {
        padding: 0 10px;
    }

    .header-rounded {
        padding: 1rem;
    }

    .header-rounded img {
        max-width: 180px;
    }

    /* Slider très petit écran */
    .product-slider-container {
        padding: 0 0.5rem;
    }

    /* Mosaïque très petit écran */
    .image-mosaic {
        padding: 0.5rem;
        gap: 10px;
    }

    .mosaic-item img {
        height: 180px;
    }

    /* Catégories très petit écran */
    .categories {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .category {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* Footer très petit écran */
    .magasin {
        padding: 1rem;
    }

    .map-info {
        text-align: center;
    }

    .map-wrapper {
        height: 200px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon i {
        font-size: 1rem;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* AMÉLIORATIONS TACTILES */
@media (hover: none) {
    .mosaic-item:hover,
    .category:hover,
    .social-icon:hover {
        transform: none;
    }

    .mosaic-item:active {
        transform: scale(0.98);
    }
}

@media (max-width: 768px) {
    .product-slider img {
        width: 100%;
    }
}