body{
    overflow-x: hidden;
}
.herobanner-home {
    gap: 80px;
    clip-path: ellipse(200% 55% at 50% 45%);
    position: relative;
    min-height: 100dvh;
    background-position: center;
    padding-top: 260px;
    overflow: hidden;
    width: 100vw;
    background: radial-gradient(circle at 0% 0%, #1B3048 17.87%, #204A7B 64.66%, #113765 100%);
}
.herobanner-home .trustpilot-widget{
    transform: translateX(-30%);
}
.herobanner-home h1 strong::before { display: none; }

.herobanner-home h1 strong {
    background: linear-gradient(125deg, #F1DB8D 23.65%, #B99B3D 121.96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.absolute-herobanner { position: relative;transform: translateY(-3vw); }

.absolute-herobanner .coffre,
.absolute-herobanner .piece-1,
.absolute-herobanner .piece-2,
.absolute-herobanner .piece-3,
.absolute-herobanner .piece-4,
.absolute-herobanner .piece-5 {
    position: absolute;
    z-index: 1;
}

.absolute-herobanner .coffre  { right: -45%; bottom: -75vh; z-index: 0; }
.absolute-herobanner .piece-1 { left: 48%; bottom: -200px; }
.absolute-herobanner .piece-2 { left: 5%; bottom: -80px; }
.absolute-herobanner .piece-3 { left: 48%; bottom: 105px; }
.absolute-herobanner .piece-4 { left: -12%; top: -15%; }
.absolute-herobanner .piece-5 { left: 60%; top: -100px; }
.absolute-herobanner .piece-4 img{
    transform: translate(-5%, 0%);
    max-width: 450px;
    max-height: 450px;
    object-fit: contain;
}
.absolute-herobanner .piece-3 img{
    transform: translate(-15%, 5%);
    max-width: 325px;
    max-height: 325px;
    object-fit: contain;
}

.floating-div {
    width: fit-content;
    min-width: fit-content;
    padding: 8px 32px 16px;
    position: absolute;
    backdrop-filter: blur(8px);
    border: solid 1px rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    z-index: 1;
}

.floating-div.argent {
    background: rgba(192, 191, 194, 0.3);
    bottom: -50px; left: -4%;
}

.floating-div.or {
    background: rgba(224, 198, 101, 0.3);
    bottom: 10px; left: 15%;
}

.floating-div p, .floating-div a { text-wrap: nowrap; }

.floating-div .ac-price-value{
    color: var(--color-white) !important;
}
.floating-div .ac-price .ac-price-date{
    display: none;
}

/* --- RESPONSIVE --- */

@media screen and (max-width: 1400px) {
    .absolute-herobanner .coffre  { right: -60%; bottom: -120%; scale: 0.8;}
    .absolute-herobanner .piece-1 { left: 50%; bottom: -20%; }
    .absolute-herobanner .piece-2 { left: 10%; bottom: -5%; }
    .absolute-herobanner .piece-3 { left: 50%; bottom: 23%; }
    .absolute-herobanner .piece-4 { left: -10%; top: -25px; }
    .absolute-herobanner .piece-5 { left: 55%; top: -100px; }
    .herobanner-home .trustpilot-widget{
        transform: translateX(-25%);
    }
}
@media screen and (max-width: 1250px) {
    .absolute-herobanner .coffre  { right: -80%; bottom: -100%; scale: 0.7;}
}
@media screen and (max-width: 1024px) {
    .herobanner-home .trustpilot-widget{
        transform: translateX(0%);
    }
    .absolute-herobanner .piece-1,
    .absolute-herobanner .piece-2, 
    .absolute-herobanner .piece-5 { display: none; }

    .absolute-herobanner { height: 30vw;transform: translateY(3vw); }
    .herobanner-home {
        padding-top: 200px !important;
    }

    .absolute-herobanner .coffre, 
    .absolute-herobanner .piece-3, 
    .absolute-herobanner .piece-4 { scale: 0.9; }

    .absolute-herobanner .coffre  { bottom: -165%; right: -40%; }
    .absolute-herobanner .piece-3 { left: 55%; top: 10%; }
    .absolute-herobanner .piece-4 { left: 0%; top: -70%; }

    .absolute-herobanner .piece-4 img{
        scale: 1;
        transform: translate(-5%, 10%);
    }
    .absolute-herobanner .piece-3 img{
        scale: 1;
        transform: translate(-10%, -30%);
    }
    
    .herobanner-home .row-md-wrap { flex-wrap: wrap; }

    .floating-div.argent { bottom: -100px;background: rgba(192, 191, 194, 0.6); }
    .herobanner-home .text-24{
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .absolute-herobanner .coffre, 
    .absolute-herobanner .piece-3, 
    .absolute-herobanner .piece-4 { scale: 0.7; }
    
    .liste-herobanner { display: none; }
    .absolute-herobanner { height: 50vw; }
    
    .absolute-herobanner .coffre  { bottom: -185%; right: -50%; }
    .absolute-herobanner .piece-3 { left: 45%; top: 30%; }
    .absolute-herobanner .piece-4 { left: -90px; top: -160px; }
    .herobanner-home {
        padding-top: 180px !important;
        clip-path: ellipse(320% 55% at 50% 45%);
    }
}

@media screen and (max-width: 450px) {
    .absolute-herobanner .coffre  { bottom: -250%; left: -20%; }
    .absolute-herobanner .piece-3 { left: 40%; top: -20%;height: 150px; }
    .absolute-herobanner .piece-4 { left: -120px; top: -160px; }
    .floating-div.argent { bottom: -100px; }
}
.reassurance-home{
    position: relative;
    z-index: 5;
    /* padding-top: 10vh; */
}
.reassurance-home > div {
    display: flex;
    justify-content: center;

}

.reassurance-home__card {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding-block: 32px;
    background: rgba(28, 64, 109, 0.25);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: solid 1px rgba(255, 255, 255, 0.2);
    /* border-bottom:0px; */
}

.reassurance-home__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
}

.reassurance-home__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 8px;
    justify-items: center;
    align-content: start;
    text-align: center;
}

.reassurance-home__icone {
    width: 50px;
    height: 50px;
}

.reassurance-home__icone picture,
.reassurance-home__icone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reassurance-home__label {
    margin: 0;
    opacity: 0.85;
}

.reassurance-home__valeur {
    margin: 0;
    font-size: clamp(18px, 1.875vw, 24px);
}

.reassurance-home__avis {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.reassurance-home__avis-label {
    margin: 0;
}

.reassurance-home__avis .trustpilot-widget {
    width: 100%;
    max-width: 240px;
}

@media screen and (max-width: 1024px) {
    .reassurance-home__card {
        gap: 32px;
    }
    .reassurance-home__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .reassurance-home .margin-inline-120 {
        padding-inline: 16px;
    }
}

@media screen and (max-width: 450px) {
    .reassurance-home__grid {
        gap: 32px 12px;
    }
    .reassurance-home__avis {
        flex-direction: column;
        gap: 8px;
    }
}

.choix-type{
    display: flex;
    gap: 0;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    width: fit-content;
}
.choix-type button{
    background: transparent;
    border: 0;
    font-size: 20px;
    color: var(--color-primary);
    padding: 8px 20px;
    position: relative;
}
.choix-type button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.choix-type button.active::after {
    transform: scaleX(1);
}
.choix-type button.active {
    font-weight: 700;
}
.type[data-type="argent"] .product-card .bottom-card{
    background-image: radial-gradient(circle at center -90px, transparent 150px, var(--fond-silver) -51px);
}
.type[data-type="platine"] .product-card .bottom-card, .type[data-type="palladium"] .product-card .bottom-card{
    background-image: radial-gradient(circle at center -90px, transparent 150px, var(--fond-bleu) -51px);
}
.type {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.type.active {
    opacity: 1;
}
@media screen and (max-width:768px) {
    .type {
        overflow-x: scroll;
        flex-wrap: nowrap;
        gap: 32px;
    }
    .type .product-card, .type > div{
        min-width: 300px;
    }
}


.grid-nouveautes{
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 32px;
}
.grid-nouveautes a {
    position: relative;
    width: 100%;
    overflow: hidden; 
    border-radius: 12px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.grid-nouveautes a img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
@media screen and (max-width:768px){
    .grid-nouveautes{
        grid-template-columns: 1fr;
    }
}





@media screen and (max-width: 1024px) {
    .valeur{
        min-width: 400px;
    }
    .valeur{
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 768px) {
    .flex-sm-scroll-ressources{
        flex-wrap: nowrap;
        overflow-x: scroll;
        width: 100%;
        max-width: 100%;
        justify-content: start;
    }
    .flex-sm-scroll-ressources a,
    .ressource{
        flex-shrink: 0;
    }
    .preview-ressource{
        padding: 0px;
        box-shadow: none;
    }
    .valeur{
        min-width: 325px;
    }
}