
/*Patch pour masqué bandeau sup*/
.breadcrumb__wrapper{
    display: none;
}

/* Page des catalogues */ 
.gb-catalogue-title{
    position: relative;
    background: #e7e3de;
    padding: 10px;
}

.gb-catalogue-img{
    max-width: 100%;
}

.gb-catalogue-title h3{
    margin: 20px;
    top: 0;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    z-index: 2;
    color: #e7e3de;
}

.catalogues-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
    gap: 20px; /* espace entre les blocs */
    background: #e7e3de;
    padding: 10px;
}

.grp-catalogues-title{
    position: absolute; 
    left: 20px; 
    right: 20px; 
    bottom: 20px; 
    display: flex; 
    gap: 30px; 
    z-index: 2;
    padding: 20px;
}

/**/
/* Responsive : empile les textes sur mobile */
@media (max-width: 768px) {
    .grp-catalogues-title {
        flex-direction: column;
        position: initial;
    }

    .gb-catalogue-title > h3 {
        top: 10px;
        /* left: 10px; */
        font-size: 1.6rem;
    }
}

/* @media (max-width: 768px) { 
    .grp-catalogues-title { 
        flex-direction: column; 
    } 
} */

.catalogue-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.catalogue-item h3 {
    margin-top: 10px;
    color: #636363;
}

.catalogue-image img {
    width: 100%;
    display: block;
    border-radius: 6px;
    transition: transform .3s ease;
}

.catalogue-image:hover img {
    transform: scale(1.03);
}


@media (max-width: 1200px) {
    .catalogues-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .catalogues-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .catalogues-wrapper {
        grid-template-columns: 1fr;
    }
}

/*Page acceuil caroussel*/
/*Group */
.grp-catalogues {
    background-color: #e7e3de;
    /* padding-top: 30px; */
}

/* Header du bloc */
.catalogues-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 20px;
    padding: 5px 5px;
}

.grp-titre{
    width: 100%;
    text-align: center;
}

.catalogues-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.catalogues-viewall {
    /* width: 100px; */
    min-width: fit-content;
    background: #565656;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.25s ease;
    margin-right: 10px;
}

.catalogues-viewall:hover {
    background: #858585;
}

@media (max-width: 600px) {
    .catalogues-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .catalogues-title {
        font-size: 1.5rem;
    }
}


/*Carousel : */
.catalogues-carousel {
    padding: 20px 0;
    height: 520px;
    display: block;
    overflow: visible;
}

.catalogues-slide {
    display: flex;
    justify-content: center;
    overflow: visible;
}

.catalogues-card {
    /* width: 210px; */
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f4f4f4;
}

.catalogues-slide .catalogues-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 350px;
    /* max-height: 320px; */
    padding: 20px;
    margin-top: 20px;
}


.catalogues-card:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px) scale(1.05);
}

.catalogues-image-wrapper {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* .catalogues-image-wrapper img {
    height: auto;
    object-fit: contain;
    padding: 10px;
    margin: 10px;
} */

.catalogues-title-carousel {
    margin-top: 8px;
    font-size: 18px;
    color: #333;
}

.catalogues-pagination {
    margin-top: 20px;
    text-align: center;
}

.catalogues-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.6;
    transition: 0.3s ease;
}

.catalogues-pagination .swiper-pagination-bullet-active {
    background: #3d3d3d; /* couleur de ton thème */
    opacity: 1;
    transform: scale(1.3);
}

.catalogues-slide:first-child {
    animation: hintMove 1.2s ease-out 0.8s forwards;
}

@keyframes hintMove {
    0% { transform: translateX(0); }
    40% { transform: translateX(-12px); }
    100% { transform: translateX(0); }
}

/* Vague du haut */
.catalogues-wave-top {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    overflow: hidden;
    line-height: 0;
    /* z-index: 10; */
}

.catalogues-wave-top svg {
    position: relative;
    display: block;
    width: calc(200% + 1.3px);
    height: 160px;
    transform: rotateY(180deg);
}

.catalogues-wave-top .shape-fill {
    fill: #FFFFFF;
}

/* Vague du bas */
.catalogues-wave-bottom {
    /* position: absolute;
    bottom: 0;
    left: 0; */
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

.catalogues-wave-bottom svg {
    position: relative;
    display: block;
    width: calc(200% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.catalogues-wave-bottom .shape-fill {
    fill: #FFFFFF;
}