body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    min-height: 100vh;
    color: #333;
}
h2{
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

/* Styles responsive pour le h2 */
@media (max-width: 768px) {
    h2 {
        font-size: 20px;
        text-align: center;
        margin: 1rem 0;
        padding: 0 1rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    h2 {
        font-size: 22px;
        text-align: center;
        margin: 1.5rem 0;
    }
}
.text-primary {
    color: #0077be;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 173, 205, 0.85);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-left .logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-left .logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    image-rendering: -o-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: smooth;
    image-rendering: auto;
}

.nav-left .logo img:hover {
    transform: scale(1.05);
}

.nav-left .logo .logo-text {
    display: none;
}

.nav-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    overflow: hidden;
    z-index: 1000;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a img {
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 40px;
    overflow: hidden;
    width: 600px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 45px;
    max-height: 45px;
}

.search-bar:hover {
    border-color: #0077be;
    box-shadow: 0 6px 30px rgba(0,119,190,0.15);
}

/* Styles global de recherche */
@media (min-width: 769px) {
.search-section {
    padding: 0.2rem 1rem;
    border-right: 1px solid #ddd;
    flex: 1;
    text-align: left;
    font-size: 12px;
}

.search-section p {
    margin: 1px 0;
}

.search-section input,
.search-section select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    background: transparent;
    color: #333;
    font-family: 'Manrope', sans-serif;
}

.search-section input::placeholder {
    color: #999;
    font-size: 11px;
}

.search-section select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 32px;
}

.search-section select option {
    background: white;
    color: #333;
    padding: 8px;
}
}

.search-button {
    background: linear-gradient(135deg, #0077be, #00bcd4);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 3px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.search-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,119,190,0.4);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-right a {
    color: inherit;
    text-decoration: none;
}

.nav-right i {
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-right i:hover,
.nav-right a:hover i {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-right .fa-bars {
    transition: transform 0.3s ease;
}

.content {
    padding: 0.8rem;
}

.card-price {
    font-weight: 600;
    color: #00bcd4;
    font-size: 14px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
    font-size: 11px;
}

.stars {
    color: #ffd700 !important;
}

/* Styles pour les étoiles dans les cartes uniquement */
.card-rating .stars,
.card-rating .fa-star,
.card-rating i.fa-star {
    color: #ffd700 !important;
}

/* Pour les étoiles dans les cartes proximité */
.bt-proxi .stars,
.bt-proxi .fa-star,
.bt-proxi i.fa-star {
    color: #ffd700 !important;
}

/* Pour les conteneurs de rating spécifiques */
.rating-container .fa-star,
.star-container .fa-star,
.rating-stars .fa-star,
.star-rating .fa-star {
    color: #ffd700 !important;
}

.heart {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart:hover {
    color: #0077be;
    transform: scale(1.1);
}

.heart.liked {
    color: #0077be;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    font-size: 14px;
    color: #666;
    margin-top: 2rem;
}

/* FILTER TAGS */
.filter-tags {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem;
    overflow-x: auto;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
}

.filter-tag {
    padding: 0.5rem 1rem !important;
    background: white !important;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    min-width: fit-content;
    flex-shrink: 0;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: #0077be;
    background: #e3f2fd;
    color: #0077be;
}

/* BOUTON RETOUR EN HAUT */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0077be, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #005a8b, #0097a7);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 119, 190, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Responsive pour le bouton retour en haut */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* Navigation responsive pour très petits écrans (iPhone 5, etc.) */
@media (max-width: 375px) {
    nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-left .logo img {
        height: 35px;
    }
    
    .nav-right {
        gap: 0.8rem;
    }
    
    .nav-right i {
        font-size: 16px;
        padding: 0.3rem;
    }
    
    /* Menu burger sans fond par défaut */
    .nav-right .fa-bars {
        font-size: 18px !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border-radius: 4px;
        border: none !important;
    }
}

/* SECTION HERO */
@media (min-width: 769px) {
.hero-section {
    background: linear-gradient(rgba(0, 119, 190, 0.7), rgba(0, 188, 212, 0.6)),
    url('https://images.unsplash.com/photo-1530549387789-4c1017266635?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}
}

/* Barre de recherche hero */
@media (min-width: 769px) {
.hero-search-bar {
    display: flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    overflow: hidden;
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out 0.4s both;
    height: 50px;
    max-height: 50px;
    margin: 0 auto;
}

.hero-search-bar:hover {
    border-color: #0077be;
    box-shadow: 0 12px 50px rgba(0,119,190,0.2);
    transform: translateY(-2px);
}
}

/* Bordure bleue sur tablette et desktop */
@media (min-width: 769px) {
    .hero-search-bar {
        border: 2px solid #0077be;
    }

    .hero-search-bar:hover {
        border-color: #005a8b;
        box-shadow: 0 12px 50px rgba(0,119,190,0.25);
    }
}

/* Styles des sections de recherche */
@media (min-width: 769px) {
.hero-search-bar .search-section {
    padding: 0.2rem 1rem;
    border-right: 1px solid #ddd;
    border-bottom: none;
    flex: 1;
    text-align: left;
    font-size: 12px;
}

.hero-search-bar .search-section p {
    margin: 1px 0;
}

.hero-search-bar .search-section input,
.hero-search-bar .search-section select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    background: transparent;
    color: #333;
    font-family: 'Manrope', sans-serif;
}

.hero-search-bar .search-section input::placeholder {
    color: #999;
    font-size: 11px;
}

.hero-search-bar .search-section select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 32px;
}

.hero-search-bar .search-section select option {
    background: white;
    color: #333;
    padding: 8px;
}
}

.hero-search-bar .search-button {
    background: linear-gradient(135deg, #0077be, #00bcd4);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 3px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.hero-search-bar .search-button:hover {
    background: linear-gradient(135deg, #005a8b, #0097a7);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,119,190,0.3);
}

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

/* Responsive pour le hero */
@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        padding: 1rem 0.8rem;
        background-attachment: scroll;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        line-height: 1.4;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 15px;
        padding: 1.2rem;
        gap: 1rem;
        max-width: 100%;
        width: calc(100% - 1.6rem);
        margin: 0 auto;
        border: 2px solid rgba(255, 255, 255, 0.9);
        box-sizing: border-box;
        min-height: 280px;
    }

    .hero-search-bar .search-section {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 1rem 0.8rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-search-bar .search-section:last-of-type {
        border-bottom: none;
    }

    .hero-search-bar .search-section p {
        font-size: 12px;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .hero-search-bar .search-section input,
    .hero-search-bar .search-section select {
        font-size: 15px;
        padding: 0.5rem 0;
        max-width: 100%;
        box-sizing: border-box;
        background: transparent;
        text-align: center;
    }

    .hero-search-bar .search-button {
        width: calc(100% - 1rem);
        height: 50px;
        border-radius: 25px;
        margin: 1rem auto 0;
        font-size: 16px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        padding: 1.5rem 1rem;
        background-attachment: scroll;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 1.8rem;
        gap: 1.2rem;
        max-width: 90%;
        width: 90%;
        margin: 0 auto;
        border: 2px solid rgba(255, 255, 255, 0.9);
        box-sizing: border-box;
        min-height: 320px;
    }

    .hero-search-bar .search-section {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 1.2rem 0.8rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-search-bar .search-section:last-of-type {
        border-bottom: none;
    }

    .hero-search-bar .search-section p {
        font-size: 14px;
        margin-bottom: 0.6rem;
        font-weight: 600;
    }

    .hero-search-bar .search-section input,
    .hero-search-bar .search-section select {
        font-size: 16px;
        padding: 0.6rem 0;
        text-align: center;
        border-bottom: 2px solid #ddd;
    }

    .hero-search-bar .search-button {
        width: calc(100% - 1rem);
        height: 52px;
        border-radius: 26px;
        margin: 1rem auto 0;
        font-size: 18px;
    }
}

/* Tablettes en mode portrait (iPad, Galaxy Tab, etc.) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-section {
        min-height: 60vh;
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.2rem;
        text-align: center;
    }

    .hero-search-bar {
        max-width: 80%;
        margin: 0 auto;
        border: 3px solid #0077be;
        min-height: 60px;
        padding: 0;
        flex-direction: row;
    }

    .hero-search-bar .search-section {
        border-right: 1px solid #ddd;
        border-bottom: none;
        padding: 0.8rem 1.2rem;
        text-align: center;
        flex: 1;
    }

    .hero-search-bar .search-section:last-of-type {
        border-right: none;
    }

    .hero-search-bar .search-section p {
        font-size: 12px;
        margin-bottom: 0.3rem;
    }

    .hero-search-bar .search-section input,
    .hero-search-bar .search-section select {
        font-size: 14px;
        text-align: center;
        border-bottom: none;
    }

    .hero-search-bar .search-button {
        width: 50px;
        height: 50px;
        margin: 5px;
        font-size: 16px;
        border-radius: 50%;
    }

    .bt-proxi {
        transform: scale(1) !important;
        zoom: 1 !important;
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        width: auto !important;
        max-width: 100% !important;
    }
    
    .bt-proxi #bl-img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(1) !important;
        zoom: 1 !important;
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        max-width: 100% !important;
        max-height: 150px !important;
        display: block !important;
    }

    .proximite-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        min-height: 65vh;
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2.2rem;
    }

    .hero-search-bar {
        max-width: 650px;
        border: 2px solid #0077be;
    }
    
    .bt-proxi {
        transform: scale(1) !important;
        zoom: 1 !important;
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
    }
    
    .bt-proxi #bl-img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(1) !important;
        zoom: 1 !important;
        -webkit-transform: scale(1) !important;
        -moz-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        max-width: 100% !important;
        max-height: 150px !important;
    }
    
    .proximite-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
        padding: 2.5rem 2rem;
    }
    
    hero-search-bar .search-section input {
        text-align: left;
    }
}

@media (min-width: 1025px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
    hero-search-bar .search-section input {
    text-align: left;
}
}

@media (min-width: 1025px) {
    .nav-center .search-bar {
        display: none;
    }

    .nav-center {
        justify-content: center;
        display: flex !important;
    }

    .nav-links {
        margin-bottom: 0;
        display: flex !important;
    }
}


/* Menu center - Desktop uniquement */
@media (min-width: 1025px) {
    .nav-center {
        flex-grow: 1;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links {
        display: flex !important;
        gap: 1rem;
        margin-bottom: 0.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        height: auto;
        overflow: hidden;
        z-index: 1000;
        position: relative;
    }
}

/* Menu center - Mobile et Tablette */
@media (max-width: 1024px) {
    .nav-center {
        position: absolute;
        top: 100%;
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100% - 1rem);
        margin-top: 0.5rem;
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, #0077be, #00bcd4);
        border-radius: 15px;
        padding: 1.5rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        z-index: 999;
        max-width: calc(100vw - 1rem);
        box-sizing: border-box;
        overflow: visible;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Navigation responsive pour très petits écrans */
@media (max-width: 375px) {
    nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-left .logo img {
        height: 35px;
    }
    
    .nav-right {
        gap: 0.8rem;
    }
    
    .nav-right i {
        font-size: 16px;
        padding: 0.3rem;
    }
    
    .nav-right .fa-bars {
        font-size: 18px !important;
        padding: 0.5rem !important;
        background: transparent !important;
        border-radius: 4px;
        border: none !important;
    }
    
    .nav-center {
        right: 0.5rem;
        width: calc(100% - 1rem);
        padding: 1.2rem;
        border-radius: 12px;
        margin-top: 0.3rem;
    }
    
    .nav-links {
        gap: 0.2rem;
        margin-bottom: 0;
    }
    
    .nav-links a {
        padding: 0.7rem 0.2rem;
        font-size: 10px;
        min-height: 55px;
        margin: 0.1rem;
        border-radius: 10px;
    }
    
    .nav-links a i {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .nav-links a svg {
        width: 16px;
        height: 16px;
        margin-bottom: 3px;
    }
}

/* Navigation responsive pour tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-center {
        position: absolute;
        top: 100%;
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100% - 1rem);
        margin-top: 0.5rem;
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, #0077be, #00bcd4);
        border-radius: 15px;
        padding: 1.5rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        z-index: 999;
        max-width: calc(100vw - 1rem);
        box-sizing: border-box;
        overflow: visible;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0;
        width: 100%;
        padding: 0.5rem 0;
        overflow: visible;
    }
    
    .nav-links a {
        padding: 1rem 0.8rem;
        text-align: center;
        border-radius: 12px;
        background: transparent;
        color: white;
        font-weight: 600;
        font-size: 14px;
        flex: 1;
        border: none;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 80px;
        margin: 0.2rem;
        position: relative;
        text-decoration: none;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links a i {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .nav-links a svg {
        width: 20px;
        height: 20px;
        margin-bottom: 6px;
    }
}

    .nav-center.mobile-open {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    /* Links horizontaux - Desktop */
    @media (min-width: 769px) {
        .nav-links {
            display: flex;
            gap: 1rem;
            margin-bottom: 0.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            height: auto;
            overflow: hidden;
            z-index: 1000;
            position: relative;
        }
    }

    /* Links horizontaux - Mobile */
    @media (max-width: 768px) {
        .nav-links {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            gap: 0.5rem;
            margin-bottom: 0;
            width: 100%;
            padding: 0.3rem 0;
            overflow: visible;
        }
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Nav links - Desktop */
    @media (min-width: 769px) {
        .nav-links a {
            text-decoration: none;
            color: #ffffff;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
            z-index: 1001;
            position: relative;
            display: flex;
            align-items: center;
            pointer-events: auto;
        }

        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: #ffffff;
            transform: translateY(-1px);
        }
    }

    /* Nav links - Mobile */
    @media (max-width: 768px) {
        .nav-links a {
            padding: 0.8rem 0.5rem;
            text-align: center;
            border-radius: 12px;
            background: transparent;
            color: white;
            font-weight: 600;
            font-size: 12px;
            flex: 1;
            border: none;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 65px;
            margin: 0.2rem;
            position: relative;
            text-decoration: none;
        }

        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
    }

    /* Icons styles pour toutes les vues */
    .nav-links a i {
        font-size: 18px;
        margin-bottom: 4px;
        color: white;
    }

    .nav-links a img,
    .nav-links a svg {
        width: 18px;
        height: 18px;
        margin-bottom: 4px;
        filter: brightness(0) invert(1);
        fill: white;
    }

    .nav-links a:hover i {
        color: white;
    }

    .nav-links a:hover img,
    .nav-links a:hover svg {
        filter: brightness(0) invert(1);
        fill: white;
    }

    @media (max-width: 768px) {
        .search-bar {
            display: none !important;
        }
    }

    /* Searchbar - Desktop uniquement */
    @media (min-width: 769px) {
        .search-bar {
            width: 100%;
            margin: 0;
            flex-direction: column;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.3);
            background: white;
        }
    }

    .search-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 0.8rem;
        text-align: center;
        /* background: white; */
    }

    .search-section:last-of-type {
        border-bottom: none;
    }

    .search-section p {
        margin-bottom: 0.4rem;
        font-size: 11px;
        font-weight: 600;
        color: #333;
    }

    .search-section input,
    .search-section select {
        font-size: 13px;
        padding: 0.4rem 0;
        text-align: left;
        border: none;
        border-bottom: 1px solid #ddd;
        background: white;
        width: 100%;
    }

    .search-section input:focus,
    .search-section select:focus {
        border-bottom-color: #0077be;
        outline: none;
    }
    .search-button {
        margin: 0.8rem;
        width: calc(100% - 9rem);
        height: 45px;
        font-size: 15px;
        border-radius: 22px;
    }

    .nav-right {
        gap: 0.6rem;
    }

    .nav-right i {
        font-size: 18px;
        padding: 0.4rem;
    }

/* Responsive pour les filter tags sur mobile */
@media (max-width: 768px) {
    /* Filter tags sur une ligne */
    .filter-tags {
        padding: 0.8rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0.6rem;
    }

    .filter-tag {
        font-size: 11px;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        min-width: -webkit-fill-available;
        min-width: fit-content;
    }
}



/* .hero-search-bar .search-section input {
    text-align: left;
} */

.proximite-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive pour les cartes proximité */
@media (max-width: 480px) {
    .proximite-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .bt-proxi #bl-img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .proximite-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 2rem 1.5rem;
    }
    
    .bt-proxi #bl-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .proximite-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 2.5rem 2rem;
    }
    
    /* CORRECTION MAXIMALE pour les images zoomées sur tablettes */
    .bt-proxi {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        zoom: 1 !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        overflow: hidden !important;
    }
    
    .bt-proxi #bl-img {
        width: 100% !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
        zoom: 1 !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        scale: 1 !important;
        -webkit-scale: 1 !important;
        display: block !important;
        overflow: hidden !important;
    }
}
.bt-proxi {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;

}
.bt-proxi:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.bt-proxi #bl-img{
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.bt-proxi #titre {

    margin: 0 0 0.3rem 0;
    color: #0077be;
    font-size: 14px;
    font-weight: 600;
}
.bt-proxi small{
    margin: 0.3rem 0;
    color: #666;
    line-height: 1.3;
}
#block-proxi {
    padding: 0.8rem;
    background: #0C0C0C;
}


