/* -------------------------
   FONTS
--------------------------*/

@font-face {
    font-family: 'Poppins-Regular';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-SemiBold';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

#boutique-bic p,
#boutique-bic span,
#boutique-bic h1,
#boutique-bic h2,
#boutique-bic a {
    font-family: 'Poppins-Regular', sans-serif;
}

/* Footer toujours en bas de page, même quand le contenu est court */
#boutique-bic {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#boutique-bic > #content {
    flex: 1 0 auto;
}

#boutique-bic footer {
    margin-top: 150px;
    flex-shrink: 0;
}

@media screen and (min-width: 1400px) {
    .container-bic {
        max-width: 1220px;
    }
}

/* =====================================================
   HEADER
=====================================================*/

.boutique-bic-header {
    height: 88px;
    line-height: 20px;
    padding: 0 80px;
}

.boutique-bic-header a {
    color: white;
}

.boutique-bic-header .dropdown-toggle {
    font-size: 20px;
}

.boutique-bic-header .dropdown-menu {
    width: auto;
}

.boutique-bic-header .boutique-title {
    letter-spacing: 2px;
}

.boutique-bic-header .container-menu,
.boutique-bic-header .container-panier {
    width: 10%;
}

.boutique-bic-header .container-heart {
    width: 5%;
}

.boutique-bic-header .container-account {
    width: 15%;
}

.boutique-bic-header .container-search {
    width: 50%;
}

.boutique-bic-header .searchBar-valider {
    border: none;
    background-color: transparent;
    top: 2px;
    right: 5px;
}

.boutique-bic-header .search-bic {
    border-radius: 5px;
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
}

.background-image-header {
    background-repeat: no-repeat;
    background-position: center;
}

/* =====================================================
   SLIDER
=====================================================*/

.homepage-bic {
    margin-bottom: 60px;
}

.homepage-bic .slider {
    margin-bottom: 0 !important;
}

/* Espace après le bloc slider */
.homepage-bic .home-slider,
.homepage-bic .home-slider-mobile {
    margin-bottom: 50px;
}

/* Desktop : visuel au format 1900x300px, pleine largeur jusqu'à 1900px */
.homepage-bic .home-slider .slider {
    max-width: 1900px;
    margin: 0 auto;
}

.homepage-bic .home-slider .slick-list {
    width: 100%;
    height: auto;
}

.homepage-bic .home-slider .slick-slide {
    display: block;
    height: auto;
}

.homepage-bic .home-slider .slick-slide img {
    width: 100%;
    max-width: 1900px;
    height: auto;
    max-height: 300px;
    aspect-ratio: 1900 / 300;
    object-fit: cover;
}

/* Mobile : comportement inchangé */
.homepage-bic .home-slider-mobile .slick-list {
    width: 80%;
    height: 153px;
}

.homepage-bic .home-slider-mobile .slick-slide {
    max-width: 60%;
    width: auto;
    display: block;
    margin: 0 auto;
    height: 153px;
}

.homepage-bic .home-slider-mobile .slick-slide img {
    height: 153px;
}

.homepage-bic .slick-prev {
    left: 2% !important;
}

.homepage-bic .slick-next {
    right: 2% !important;
}

.homepage-bic .slick-track {
    display: flex;
}

.bic-error-margin {
    margin: 150px 0;
}
/* =====================================================
   BANDEAU PUB
=====================================================*/

#blocBicBandeauPub {
    background-repeat: no-repeat;
    background-position: center;
    /*background-size: contain;*/
    height: 461px;
    background-image: var(--bg-bandeauPub-desktop);
}

#blocBicBandeauPub .titre {
    font-size: 40px;
}

#blocBicBandeauPub .soustitre {
    font-size: 30px;
}

#blocBicBandeauPub p {
    font-size: 22px;
}

#blocBicBandeauPub a {
    display: inline-block;
    text-align: center;
    border-radius: 20px;
    font-family: 'Poppins-SemiBold', sans-serif;
    padding: 0.5rem 1.5rem;
}

@media screen and (max-width: 767px){
    #blocBicBandeauPub {
        background-image: var(--bg-bandeauPub-mobile);
        background-size: cover;
        height: 560px;
    }

    #blocBicBandeauPub .titre {
        font-size: 32px;
    }

    #blocBicBandeauPub .soustitre {
        font-size: 28px;
    }

    #blocBicBandeauPub p {
        font-size: 16px;
    }

    #blocBicBandeauPub a {
        font-size: 14px;
    }
}

/* =====================================================
   MAP
=====================================================*/
#blocBicMap {
    position: relative;
}

#blocBicMap .title {
    font-size: 48px;
    font-family: 'Poppins-SemiBold', sans-serif;
    margin: 0;
    position: relative;
    z-index: 1;
}

#blocBicMap .soulignage {
    position: absolute;
    right: 0;
    bottom: -12px;
    width: 344px;
    height: 25px;
    -webkit-mask: url("../charte/deco_title_map.svg") no-repeat center / contain;
    mask: url("../charte/deco_title_map.svg") no-repeat center / contain;
}

#blocBicMap .container-map-search {
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    flex-flow: column;
    font-family: 'Poppins-SemiBold', sans-serif;
    font-size: 24px;
    width: 489px;
}

#blocBicMap .container-map-search input {
    margin-top: 15px;
    border-radius: 8px;
    width: 100%;
}

#blocBicMap .map-search-wrapper {
    position: relative;
    width: 100%;
}

#blocBicMap .map-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 2px 0 0;
    padding: 4px 0;
    max-height: 240px;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    text-align: left;
}

#blocBicMap .map-suggestions[hidden] {
    display: none;
}

#blocBicMap .map-suggestions li {
    padding: 8px 16px;
    color: #1b1b1b;
    cursor: pointer;
}

#blocBicMap .map-suggestions li:hover,
#blocBicMap .map-suggestions li.active {
    background: #f0f0f0;
}

#blocBicMap .container-map-search button {
    border-radius: 8px;
    margin-top: 15px;
    font-family: 'Poppins-SemiBold', sans-serif;
    font-size: 16px;
    line-height: 20px;
    padding: 12px 18px;
}

#blocBicMap #carte-map {
    /*position: relative;*/
    /*display: inline-block;*/
}

#blocBicMap .region {
    stroke: #ffffff;
    stroke-width: 0.5;
    cursor: pointer;
    transition: fill 0.2s;
    position: relative;
    fill: var(--bg-carte);
}

#blocBicMap .region.hovered {
    fill: var(--bg-carte-survol);
}

#blocBicMap .region.hovered path {
    stroke-width: 2;
}

#popup-map {
    display: none;
    position: absolute;
    background: white;
    padding: 4px 8px;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    pointer-events: none;
    font-size: 16px;
    font-family: 'Poppins-SemiBold', sans-serif;
}

@media screen and (max-width: 992px) {
    #blocBicMap #mapTexteSearch{
        text-align: center;
    }

    #blocBicMap .container-map-search {
        margin: 0 auto;
    }
}
@media screen and (max-width: 767px) {
    #blocBicMap .container-map-search {
        padding: 18px 9px;
        font-size: 16px;
        width: 320px;
    }

    #blocBicMap .title {
        font-size: 32px;
    }

    #blocBicMap .soulignage {
        width: 250px;
    }
}
@media screen and (max-width: 500px) {
    #blocBicMap .container-map-search {
        width: 280px;
    }
}

/* =====================================================
   REASSURANCE
=====================================================*/

#blocBicReassurance {
    background-position-x: left;
    background-repeat: no-repeat;
    background-image: var(--bg-reassurance-desktop);
    min-height: 754px;
    padding-top: 144px;
    padding-bottom: 144px;
}

#blocBicReassurance .inner-container {
    border-radius: 25px;
}

#blocBicReassurance .title {
    font-size: 28px;
    font-family: 'Poppins-SemiBold', sans-serif;
    position: relative;
    z-index: 1;
    width: auto;
    display: inline-block;
}

#blocBicReassurance .soulignage {
    position: absolute;
    bottom: -3px;
    right: -27px;
    width: 137px;
    height: 19px;
    -webkit-mask: url("../charte/deco_title_picto.svg") no-repeat center / contain;
    mask: url("../charte/deco_title_picto.svg") no-repeat center / contain;
}

#blocBicReassurance .blocBicReassurrancePictos img {
    width: 60px;
    height: 60px;
}

#blocBicReassurance .blocBicReassurrancePictos .picto-text {
    font-family: 'Poppins-SemiBold', sans-serif;
    font-size: 18px;
    line-height: 1.4rem;
}

@media screen and (max-width: 992px) {
    #blocBicReassurance {
        padding-top: 70px;
        padding-bottom: 0;
    }
}
@media screen and (max-width: 767px) {
    #blocBicReassurance {
        background-image: var(--bg-reassurance-mobile);
        background-size: contain;
    }
}

/* =====================================================
   EXPLICATION
=====================================================*/

#blocBicExplications {
    padding-top: 60px;
    padding-bottom: 100px;
}

#blocBicExplications .explicationsImage img {
    border-radius: 10px;
}

#blocBicExplications .explicationsTexte .title {
    font-size: 28px;
    font-family: 'Poppins-SemiBold', sans-serif;
    position: relative;
    z-index: 1;
}

#blocBicExplications .explicationsTexte .soulignage {
    position: absolute;
    -webkit-mask: url("../charte/deco_title_left.svg") no-repeat center / contain;
    mask: url("../charte/deco_title_left.svg") no-repeat center / contain;
    top: -6px;
    left: 0;
    width: 201px;
    height: 41px;
}

#blocBicExplications .explicationsTexte .texte {
    font-size: 18px;
    line-height: 1.4rem;
}

@media screen and (max-width: 992px) {
    #blocBicExplications .explicationsImage img {
        margin: 0 auto;
    }
}

/* =====================================================
   FOOTER
=====================================================*/

#blocBicFooter {
    font-family: 'Poppins-Regular', sans-serif;;
}

#blocBicFooter .footerBic-pictoGauche {
    position: absolute;
    width: 215px;
    height: 215px;
    left: 0;
}

#blocBicFooter .footerBic-pictoDroit {
    position: absolute;
    top: -95px;
    right: 0;
    background-color: white;
    width: 387px;
    height: 190px;
    border-radius: 15px;
    box-shadow: 0 -4px 19px 0 #00000040;
}

#blocBicFooter #footerBicLiens a {
    width: auto;
}

#blocBicFooter #footerBicLiens span {
    display: inline-block;
    font-size: 20px;
    margin-bottom: 20px;
}

#blocBicFooter #footerBicContact .texteContact {
    font-size: 20px;
}

#blocBicFooter #footerBicContact .contact,
#blocBicFooter #footerBicContact .contact a,
#blocBicFooter #footerBicContact .contact span {
    font-size: 16px;
}

#blocBicFooter #footerBicMentions a {
    font-size: 20px;
}

@media screen and (max-width: 992px) {
    #blocBicFooter .footerBic-pictoGauche {
        display: none;
    }
    #blocBicFooter .footerBic-pictoDroit {
        right: 50%;
        transform: translate(50%);
    }
}

@media screen and (max-width: 767px) {
    #blocBicFooter .footerBic-pictoDroit {
        width: 300px;
        height: 147px;
    }
}