/* =========================================
   Explore MyReco - CSS optimisé V3 SAFE
   Base : CSS production validé + correctif autocomplete final.

   Objectif : nettoyer sans casser la cascade existante.
   Important : les blocs fiche hébergement / galerie / cards proches
   sont conservés dans leur ordre fonctionnel.

   Sections principales :
   01. Variables, base et layout global
   02. Header / navigation / footer
   03. Boutons, formulaires et autocomplete initial
   04. Pages marketing, hero, destinations, listings
   05. Fiche hébergement premium
   06. Galerie, cards proches, footer avancé
   07. Correctifs UI existants conservés
   08. Correctifs finaux autocomplete et z-index
   ========================================= */

:root {
    --color-ink: #0b1623;
    --color-muted: #667789;
    --color-soft: #edf6f7;
    --color-surface: #ffffff;
    --color-surface-glass: rgba(255, 255, 255, 0.78);
    --color-line: rgba(11, 22, 35, 0.1);
    --color-primary: #096b72;
    --color-primary-dark: #063f48;
    --color-primary-soft: #dff4f2;
    --color-accent: #c98f3d;
    --color-accent-soft: #fff2dc;
    --color-night: #071622;
    --color-star: #f5a623;
    --shadow-xs: 0 6px 18px rgba(11, 22, 35, 0.06);
    --shadow-sm: 0 12px 34px rgba(11, 22, 35, 0.08);
    --shadow-md: 0 20px 60px rgba(11, 22, 35, 0.13);
    --shadow-lg: 0 34px 100px rgba(11, 22, 35, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 42px;
    --container-y: 3rem;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(10, 111, 122, 0.13), transparent 34rem),
        radial-gradient(circle at top right, rgba(217, 154, 50, 0.13), transparent 30rem),
        linear-gradient(180deg, #f7fbfc 0%, #ffffff 46%, #f5f8fa 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 70%);
    z-index: -1;
}

a {
    color: var(--color-primary);
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--color-primary-dark);
}

:focus-visible {
    outline: 3px solid rgba(10, 111, 122, 0.34);
    outline-offset: 3px;
    border-radius: 8px;
}

::selection {
    background: rgba(10, 111, 122, 0.18);
}

main.py-4 {
    padding-bottom: var(--container-y) !important;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(248, 252, 253, 0.82);
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.site-header .navbar.bg-primary {
    background: transparent !important;
}

.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-ink) !important;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.site-header .navbar-brand::before {
    content: "";
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent),
        linear-gradient(135deg, var(--color-primary), #17a6ad);
    box-shadow: 0 12px 28px rgba(10, 111, 122, 0.28);
}

.site-header .navbar-toggler {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.site-header .navbar-toggler-icon {
    opacity: 0.72;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2816, 32, 51, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-header .nav-link {
    padding: 0.55rem 0.85rem !important;
    border-radius: 999px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-header .nav-item:last-child .nav-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* Footer */
.site-footer {
    margin-top: 5rem !important;
    padding: 3rem 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    background:
        radial-gradient(circle at 20% 10%, rgba(23, 166, 173, 0.24), transparent 24rem),
        linear-gradient(135deg, #071622 0%, #102033 56%, #0a3840 100%) !important;
}

.site-footer .fw-bold {
    color: #fff;
    letter-spacing: -0.02em;
}

.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.site-footer a:hover {
    color: #fff !important;
}

/* Bootstrap overrides */
.btn {
    border-radius: 999px;
    font-weight: 750;
    padding: 0.72rem 1.15rem;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border: 0;
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.text-muted {
    color: var(--color-muted) !important;
}

.bg-white {
    background: rgba(255, 255, 255, 0.86) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-md) !important;
}

/* Cards hébergement */
.carte-hebergement {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.carte-hebergement:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 111, 122, 0.22);
    box-shadow: var(--shadow-md);
}

.carte-hebergement .card-img-top,
.photo-placeholder {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background-color: #dce7eb;
}

.carte-hebergement .card-body {
    padding: 1.05rem !important;
}

.carte-hebergement .badge-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: var(--color-primary-soft) !important;
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.carte-hebergement h2,
.carte-hebergement h3 {
    line-height: 1.3;
}

.carte-hebergement h2 a,
.carte-hebergement h3 a {
    color: var(--color-ink) !important;
}

.carte-hebergement h2 a:hover,
.carte-hebergement h3 a:hover {
    color: var(--color-primary) !important;
}

.photo-placeholder {
    background: linear-gradient(100deg, #dde8ec 20%, #f6fbfc 45%, #dbe7eb 70%);
    background-size: 220% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.note-hebergement {
    color: var(--color-star);
    font-weight: 750;
}

/* Fiche hébergement */
.photo-principale {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.bloc-infos dt {
    margin-top: 0.85rem;
    font-weight: 760;
    color: var(--color-ink);
}

.bloc-infos dd {
    margin-bottom: 0.55rem;
    color: var(--color-muted);
}

.badge-equipement {
    display: inline-flex;
    align-items: center;
    margin: 0.25rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(10, 111, 122, 0.14);
    border-radius: 999px;
    background: rgba(10, 111, 122, 0.08);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

/* Breadcrumbs / pagination */
.breadcrumb {
    gap: 0.25rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    width: fit-content;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.breadcrumb-item.active {
    color: var(--color-ink);
}

.pagination {
    margin-top: 2.5rem;
    gap: 0.35rem;
}

.page-link {
    min-width: 42px;
    border: 1px solid var(--color-line);
    border-radius: 999px !important;
    color: var(--color-primary);
    font-weight: 750;
    box-shadow: var(--shadow-sm);
}

.page-item.active .page-link {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

/* Recherche / autocomplete */
.bloc-recherche {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    background: var(--color-surface-glass);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bloc-recherche .input-group,
#form-recherche {
    align-items: stretch;
}

.form-control {
    min-height: 3.25rem;
    border: 1px solid rgba(16, 32, 51, 0.12);
    border-radius: 999px;
    color: var(--color-ink);
    box-shadow: none;
}

.input-group .form-control {
    border-top-left-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
}

.input-group .btn {
    border-top-right-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
}

.form-control:focus {
    border-color: rgba(10, 111, 122, 0.42);
    box-shadow: 0 0 0 0.25rem rgba(10, 111, 122, 0.12);
}

.autocomplete-ville-wrapper {
    position: relative;
}

.autocomplete-ville-liste {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-ville-item {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--color-ink);
    text-align: left;
    cursor: pointer;
    font-weight: 650;
    text-decoration: none;
}

.autocomplete-ville-item:hover,
.autocomplete-ville-item.active {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    text-decoration: none;
}

.alerte-page {
    margin-top: 2rem;
}

/* Lot 2 - Pages marketing / SEO */
.hero-travel {
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    padding: clamp(3rem, 7vw, 6.5rem);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
        radial-gradient(circle at 18% 22%, rgba(10, 111, 122, 0.18), transparent 20rem),
        radial-gradient(circle at 86% 18%, rgba(217, 154, 50, 0.18), transparent 24rem),
        linear-gradient(135deg, #eef9fa 0%, #fffaf0 100%);
    box-shadow: var(--shadow-lg);
}

.hero-travel::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 111, 122, 0.16), rgba(217, 154, 50, 0.12));
    filter: blur(2px);
}

.hero-travel > * {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(10, 111, 122, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-title {
    max-width: 820px;
    margin: 0 auto 1rem;
    color: var(--color-ink);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto 2rem;
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.hero-search {
    max-width: 820px;
    margin: 0 auto;
}

.hero-search #form-recherche {
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-search .autocomplete-ville-wrapper {
    flex: 1;
}

.hero-search .form-control {
    border-color: transparent;
    background: transparent;
}

.hero-search .btn {
    min-width: 150px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 999px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.section-heading h2 {
    margin: 0;
}

.section-heading p {
    max-width: 620px;
    margin: 0;
    color: var(--color-muted);
}

.destination-card {
    display: block;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at top right, rgba(10, 111, 122, 0.12), transparent 10rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.destination-card:hover {
    transform: translateY(-4px);
    border-color: rgba(10, 111, 122, 0.2);
    box-shadow: var(--shadow-md);
}

.destination-card h3 {
    margin-bottom: 0.35rem;
    color: var(--color-ink);
    letter-spacing: -0.025em;
}

.destination-card .destination-meta {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.destination-card .destination-arrow {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--color-primary);
    font-weight: 800;
}

.city-landing {
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(217, 154, 50, 0.16), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 249, 250, 0.82));
    box-shadow: var(--shadow-md);
}

.city-landing h1 {
    max-width: 820px;
    margin-bottom: 1rem !important;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.city-intro {
    max-width: 850px;
    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.result-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(10, 111, 122, 0.14);
    border-radius: 999px;
    color: var(--color-ink);
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.result-summary strong {
    color: var(--color-primary-dark);
}

.why-grid .card {
    height: 100%;
    padding: 1.3rem;
}

.why-grid h3 {
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.why-grid p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .hero-travel,
    .city-landing {
    padding: 2rem 1.15rem;
    border-radius: var(--radius-md);
}

    .hero-search #form-recherche {
    border-radius: var(--radius-md);
}

    .section-heading {
    display: block;
}

    .section-heading p {
    margin-top: 0.45rem;
}}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.8rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}}

@media (max-width: 767.98px) {
    :root {
    --container-y: 1.8rem;
}

    .site-header .navbar {
    padding: 0.65rem 0;
}

    .d-flex.justify-content-center.gap-2#form-recherche,
    #form-recherche.d-flex {
    flex-direction: column;
}

    .autocomplete-ville-wrapper.w-50 {
    width: 100% !important;
}

    .bloc-recherche {
    padding: 1rem;
    border-radius: var(--radius-md);
}

    .input-group {
    flex-direction: column;
    gap: 0.75rem;
}

    .input-group .form-control,
    .input-group .btn,
    .form-control,
    .btn {
    width: 100%;
    border-radius: 999px !important;
}

    .carte-hebergement .card-img-top,
    .photo-placeholder {
    height: 190px;
}

    .breadcrumb {
    width: 100%;
    border-radius: var(--radius-md);
}}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
}}

/* Lot 3 - Fiche hébergement / finitions */
.property-hero {
    position: relative;
    margin-bottom: 2rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(10, 111, 122, 0.15), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 252, 253, 0.78));
    box-shadow: var(--shadow-md);
}

.property-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.property-kicker .badge {
    border-radius: 999px;
    padding: 0.55rem 0.75rem;
    font-weight: 750;
}

.property-title {
    max-width: 880px;
    margin-bottom: 0.9rem;
    line-height: 1;
    letter-spacing: -0.055em;
}

.property-location {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.property-location a {
    font-weight: 800;
}

.property-layout {
    align-items: start;
}

.property-main-panel,
.property-side-panel {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.property-side-panel {
    position: sticky;
    top: 6.5rem;
    overflow: hidden;
}

.property-side-panel .card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.property-side-panel .card-body {
    padding: 1.35rem;
}

.property-side-panel .card-title {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.property-section {
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-line);
}

.property-section:first-of-type {
    padding-top: 0;
}

.property-section h2 {
    margin-bottom: 0.8rem;
    letter-spacing: -0.025em;
}

.property-city-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.property-city-link:hover {
    color: var(--color-primary-dark);
    background: rgba(10, 111, 122, 0.16);
}

.property-location-section {
    overflow: hidden;
}

.map-coordinates {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.map-coordinates dt {
    color: var(--color-text);
    font-weight: 850;
}

.map-coordinates dd {
    margin: 0;
}

.map-coordinates span {
    color: var(--color-muted);
    font-size: 0.86rem;
}

.hebergement-map {
    width: 100%;
    border: 1px solid var(--color-line);
    overflow: hidden;
    background: #e8eef3;
    z-index: 0;
}

.about-info-groups {
    display: grid;
    gap: 1rem;
}

.about-info-group {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.about-info-group h3 {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    font-weight: 850;
}

.about-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.about-info-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(10, 111, 122, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.property-contact {
    border-top: 1px solid var(--color-line);
}

.property-contact h3 {
    margin: 0 0 0.9rem;
    font-size: 1rem;
    font-weight: 850;
}

.property-contact-group {
    display: grid;
}

.property-contact-label {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-contact-group a,
.property-social-links a {
    overflow-wrap: anywhere;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.property-contact-group a:hover,
.property-social-links a:hover {
    text-decoration: underline;
}

.property-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.property-social-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
}

@media (max-width: 575.98px) {
    .hebergement-map {
    min-height: 300px;
    height: 300px;
}}

.nearby-section {
    margin-top: 4rem;
}

.nearby-section .section-heading {
    margin-bottom: 1rem;
}

.autocomplete-ville-item:focus-visible {
    outline: 3px solid rgba(10, 111, 122, 0.24);
    outline-offset: -2px;
}

.autocomplete-ville-item::after {
    content: "Voir la destination";
    display: block;
    margin-top: 0.15rem;
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 650;
}

@media (max-width: 991.98px) {
    .property-side-panel {
    position: static;
    margin-top: 1rem;
}}

@media (max-width: 767.98px) {
    .property-hero,
    .property-main-panel,
    .property-side-panel {
    border-radius: var(--radius-md);
}

    .property-title {
    font-size: clamp(2rem, 12vw, 3rem);
}

    .property-location {
    display: block;
}

    .property-location > * {
    display: block;
    margin-bottom: 0.35rem;
}}

/* Fiche hébergement premium */
.property-hero-premium {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: stretch;
    padding: clamp(1rem, 2vw, 1.35rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.72), transparent 20rem),
        radial-gradient(circle at 88% 12%, rgba(217, 154, 50, 0.18), transparent 24rem),
        linear-gradient(135deg, #07212c 0%, #0b4650 48%, #f5efe2 100%);
    color: #fff;
    box-shadow: 0 34px 100px rgba(7, 22, 34, 0.22);
}

.property-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 22, 34, 0.88), rgba(7, 22, 34, 0.22) 60%, rgba(255, 255, 255, 0.1)),
        radial-gradient(circle at 24% 86%, rgba(23, 166, 173, 0.24), transparent 22rem);
    z-index: 0;
}

.property-hero-premium > * {
    position: relative;
    z-index: 1;
}

.property-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
    padding: clamp(1.2rem, 4vw, 3rem);
}

.property-hero-premium .property-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.48rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 760;
    backdrop-filter: blur(14px);
}

.property-hero-premium .property-title {
    max-width: 760px;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.property-address {
    max-width: 680px;
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.property-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.property-hero-actions .btn-outline-primary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.property-hero-actions .btn-outline-primary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.property-hero-media {
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: calc(var(--radius-lg) - 8px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 70px rgba(7, 22, 34, 0.32);
}

.property-hero-media img,
.property-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.property-hero-placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
        radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.24), transparent 12rem),
        linear-gradient(135deg, #dfeaed, #f8f3ea);
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin: -1.2rem 1.2rem 2rem;
    position: relative;
    z-index: 2;
}

.quick-fact-card {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

.quick-fact-card span {
    display: block;
    margin-bottom: 0.32rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quick-fact-card strong {
    display: block;
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.3;
}

.property-main-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.property-side-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.property-section {
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-top: 1.15rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
        radial-gradient(circle at top right, rgba(10, 111, 122, 0.06), transparent 18rem);
    box-shadow: var(--shadow-sm);
}

.property-section:first-of-type {
    margin-top: 0;
    border-top: 1px solid rgba(16, 32, 51, 0.08);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-section h2,
.contact-card h2 {
    margin: 0 0 1rem;
    color: var(--color-ink);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.property-description {
    max-width: 760px;
    color: var(--color-muted);
    font-size: 1.03rem;
    line-height: 1.85;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.section-pill {
    display: inline-flex;
    padding: 0.48rem 0.7rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.map-card {
    padding: 1rem;
}

.map-card .section-title-row,
.map-address {
    padding: 0.35rem 0.45rem 0;
}

.map-address {
    margin: 0 0 1rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.hebergement-map {
    height: 430px;
    min-height: 430px;
    border-radius: calc(var(--radius-lg) - 8px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), var(--shadow-sm);
}

.about-info-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-info-group {
    padding: 1.05rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 253, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-info-group h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-primary-dark);
}

.about-info-group h3::before {
    content: "";
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 0 5px rgba(10, 111, 122, 0.08);
}

.about-info-list,
.amenity-chip-list {
    display: grid;
    gap: 0.55rem;
}

.about-info-chip,
.badge-equipement {
    justify-content: space-between;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.65rem 0.78rem;
    border-radius: 16px;
    background: #fff;
    color: var(--color-ink);
    font-weight: 680;
}

.about-info-chip strong {
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 720;
}

.amenity-chip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
    position: sticky;
    top: 6.5rem;
    padding: clamp(1.15rem, 2vw, 1.45rem);
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(217, 154, 50, 0.12), transparent 14rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 252, 0.9));
    box-shadow: var(--shadow-md);
}

.contact-main-cta {
    margin-bottom: 1rem;
}

.contact-mini-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0;
}

.contact-mini-item,
.contact-link {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(16, 32, 51, 0.07);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.contact-mini-item span,
.property-contact-label {
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 820;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-mini-item strong {
    color: var(--color-ink);
    text-align: right;
}

.property-contact {
    margin-top: 1rem;
    padding-top: 1rem;
}

.property-contact-group {
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    color: var(--color-primary-dark);
    font-weight: 760;
}

.property-social-links a {
    border: 1px solid rgba(10, 111, 122, 0.12);
    background: rgba(223, 245, 246, 0.78);
    font-weight: 760;
}

.nearby-section {
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top left, rgba(10, 111, 122, 0.08), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 251, 252, 0.86));
}

.nearby-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.nearby-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.nearby-card-media {
    height: 190px;
    overflow: hidden;
}

.nearby-card-media img,
.nearby-card-media .photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s var(--ease);
}

.nearby-card:hover .nearby-card-media img {
    transform: scale(1.04);
}

.nearby-card-body {
    padding: 1rem;
}

.nearby-card-type {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.35rem 0.58rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 820;
}

.nearby-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.35;
}

.nearby-card h3 a {
    color: var(--color-ink);
    text-decoration: none;
}

.nearby-card p {
    margin: 0 0 0.9rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.nearby-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    color: var(--color-star);
    font-size: 0.9rem;
    font-weight: 780;
}

.nearby-card-footer a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .property-hero-premium {
    grid-template-columns: 1fr;
}

    .property-hero-copy,
    .property-hero-media,
    .property-hero-media img,
    .property-hero-placeholder {
    min-height: 360px;
}

    .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -0.7rem 0 1.5rem;
}

    .contact-card {
    position: static;
}}

@media (max-width: 767.98px) {
    .property-hero-premium {
    border-radius: var(--radius-md);
}

    .property-hero-copy {
    padding: 1.15rem;
    min-height: 320px;
}

    .property-hero-media,
    .property-hero-media img,
    .property-hero-placeholder {
    min-height: 280px;
}

    .property-hero-actions,
    .section-title-row {
    display: grid;
}

    .quick-facts-grid,
    .about-info-groups,
    .amenity-chip-list {
    grid-template-columns: 1fr;
}

    .hebergement-map {
    min-height: 320px;
    height: 320px;
}}

/* Lot 1 - Design system global premium */
body {
    background:
        radial-gradient(circle at 12% 0%, rgba(9, 107, 114, 0.14), transparent 34rem),
        radial-gradient(circle at 92% 4%, rgba(201, 143, 61, 0.13), transparent 30rem),
        linear-gradient(180deg, #f8fbfb 0%, #ffffff 42%, #f4f8f8 100%);
}

body::before {
    opacity: 0.42;
    background-size: 56px 56px;
}

.container {
    max-width: 1208px;
}

main.py-4 {
    padding-top: clamp(1.8rem, 3vw, 3.2rem) !important;
}

.site-header {
    background: rgba(248, 252, 252, 0.76);
    border-bottom: 1px solid rgba(11, 22, 35, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 55px rgba(11, 22, 35, 0.055);
}

.site-header .navbar {
    padding: 0.72rem 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--color-ink) !important;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.site-brand-mark,
.site-header .navbar-brand::before {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 42%),
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.72), transparent 0.34rem),
        linear-gradient(135deg, var(--color-primary-dark), #13a0a8 58%, var(--color-accent));
    box-shadow: 0 16px 34px rgba(9, 107, 114, 0.28);
}

.site-header .navbar-brand::before {
    display: none;
}

.site-brand-text {
    display: grid;
    gap: 0.05rem;
    line-height: 1.05;
}

.site-brand-text strong {
    color: var(--color-ink);
    font-size: 1.04rem;
    font-weight: 880;
    letter-spacing: -0.035em;
}

.site-brand-text small {
    color: var(--color-muted);
    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header .nav-link {
    color: rgba(11, 22, 35, 0.68) !important;
    font-size: 0.94rem;
    font-weight: 760;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: var(--color-ink) !important;
    background: rgba(9, 107, 114, 0.075);
}

.site-header .nav-item:last-child .nav-link,
.site-header .nav-link-cta {
    padding-inline: 1.05rem !important;
    color: #fff !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
        linear-gradient(135deg, var(--color-primary), #13a0a8);
    box-shadow: 0 16px 34px rgba(9, 107, 114, 0.24);
}

.btn {
    min-height: 2.9rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.btn-outline-primary {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(9, 107, 114, 0.28);
    color: var(--color-primary-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.card,
.section-card {
    border: 1px solid rgba(11, 22, 35, 0.075);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 252, 0.88));
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: rgba(9, 107, 114, 0.14);
}

.hero-premium {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 14% 18%, rgba(9, 107, 114, 0.18), transparent 22rem),
        radial-gradient(circle at 88% 14%, rgba(201, 143, 61, 0.18), transparent 24rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 248, 0.82));
    box-shadow: var(--shadow-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(9, 107, 114, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-primary-dark);
    font-weight: 780;
}

.listing-card {
    height: 100%;
}

.carte-hebergement {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.carte-hebergement .card-img-top,
.photo-placeholder {
    background:
        linear-gradient(115deg, #dce8ea 12%, #f8fbfb 38%, #d9e6e8 64%);
}

.badge,
.badge-type,
.trust-pill {
    letter-spacing: 0.01em;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-xs);
}

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 5rem !important;
    padding: clamp(2.6rem, 5vw, 4.5rem) 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(19, 160, 168, 0.26), transparent 24rem),
        radial-gradient(circle at 86% 12%, rgba(201, 143, 61, 0.18), transparent 22rem),
        linear-gradient(135deg, #06131d 0%, #0b1f30 52%, #063f48 100%) !important;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr) minmax(220px, 0.8fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: start;
}

.site-brand-footer .site-brand-text strong,
.site-footer h2 {
    color: #fff;
}

.site-brand-footer .site-brand-text small,
.site-footer p,
.site-footer span {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer-brand p,
.site-footer-note p {
    max-width: 460px;
    margin: 1rem 0 0;
    line-height: 1.75;
}

.site-footer h2 {
    margin: 0 0 0.9rem;
    font-size: 0.82rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer-links {
    display: grid;
    gap: 0.55rem;
}

.site-footer-links a,
.site-footer a {
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
}

.site-footer-links a:hover,
.site-footer a:hover {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .site-footer-grid {
    grid-template-columns: 1fr 1fr;
}

    .site-footer-brand {
    grid-column: 1 / -1;
}}

@media (max-width: 767.98px) {
    .site-brand-text small {
    display: none;
}

    .site-logo {
    height: 44px;
    max-width: 210px;
}

    .site-footer-grid {
    grid-template-columns: 1fr;
}}

/* Correctifs UI - autocomplete, placeholders, nav */
.site-header .navbar-nav {
    gap: 0.35rem;
}

.site-header .nav-item:last-child .nav-link {
    color: rgba(11, 22, 35, 0.68) !important;
    background: transparent;
    box-shadow: none;
}

.site-header .nav-link-cta {
    color: rgba(11, 22, 35, 0.68) !important;
    background: transparent;
    box-shadow: none;
}

.hero-search,
.premium-search {
    width: min(100%, 920px);
    margin-inline: auto;
    position: relative;
}

.hero-search #form-recherche,
.premium-search #form-recherche {
    width: 100%;
}

.hero-search .autocomplete-ville-wrapper,
.premium-search .autocomplete-ville-wrapper,
#form-recherche .autocomplete-ville-wrapper {
    flex: 1 1 720px;
    min-width: min(100%, 320px);
    position: relative;
    z-index: 40;
}

.autocomplete-ville-liste {
    min-width: 100%;
}

.autocomplete-ville-liste::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 1.6rem;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-left: 1px solid rgba(11, 22, 35, 0.08);
    border-top: 1px solid rgba(11, 22, 35, 0.08);
    background: #fff;
}

.autocomplete-ville-item {
    position: relative;
    z-index: 1;
}

.photo-placeholder,
.listing-card-media .photo-placeholder,
.nearby-card-media .photo-placeholder,
.property-hero-placeholder {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, #dce8ea 0%, #f8fbfb 38%, #d9e6e8 68%, #eef6f7 100%);
    background-size: 240% 100%;
    animation: shimmer 1.6s linear infinite;
}

.photo-placeholder::after,
.listing-card-media .photo-placeholder::after,
.nearby-card-media .photo-placeholder::after,
.property-hero-placeholder::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 18%, rgba(9, 107, 114, 0.16), transparent 1.9rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.55);
}

@media (max-width: 767.98px) {
    .hero-search,
    .premium-search {
    width: 100%;
}

    .hero-search .autocomplete-ville-wrapper,
    .premium-search .autocomplete-ville-wrapper,
    #form-recherche .autocomplete-ville-wrapper {
    flex-basis: auto;
    min-width: 100%;
}

    .autocomplete-ville-liste {
    position: absolute;
    left: 0;
    right: 0;
    max-height: 260px;
}}

/* Lot 3 - Accueil, pays, ville et listings */
.discovery-hero {
    min-height: clamp(520px, 68vh, 760px);
    display: grid;
    place-items: center;
    padding: clamp(2rem, 7vw, 6.8rem);
    isolation: isolate;
}

.discovery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.54)),
        radial-gradient(circle at 16% 22%, rgba(9, 107, 114, 0.2), transparent 22rem),
        radial-gradient(circle at 86% 16%, rgba(201, 143, 61, 0.18), transparent 26rem);
    z-index: -1;
}

.discovery-hero::after {
    width: 34rem;
    height: 34rem;
    right: -10rem;
    bottom: -12rem;
    background:
        radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.36), transparent 6rem),
        linear-gradient(135deg, rgba(9, 107, 114, 0.18), rgba(201, 143, 61, 0.16));
    opacity: 0.9;
}

.discovery-hero .hero-eyebrow,
.city-landing-premium .hero-eyebrow {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-xs);
}

.discovery-hero .hero-title {
    max-width: 930px;
    letter-spacing: -0.07em;
}

.discovery-hero .hero-subtitle {
    max-width: 800px;
}

.premium-search #form-recherche {
    max-width: 860px;
    min-height: 4.35rem;
    padding: 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 26px 80px rgba(11, 22, 35, 0.14);
}

.premium-search .form-control {
    min-height: 3.1rem;
    padding-inline: 1.2rem;
    font-size: 1rem;
}

.premium-search .btn {
    min-width: 160px;
}

.discovery-section {
    position: relative;
    margin-top: 3rem;
}

.discovery-section .section-heading {
    margin-bottom: 1.45rem;
}

.discovery-section .section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.destination-card-premium {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.45rem;
    overflow: hidden;
}

.destination-card-premium::before {
    content: "";
    position: absolute;
    inset: auto -3rem -4rem auto;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: rgba(9, 107, 114, 0.09);
}

.destination-card-premium h3 {
    font-size: 1.22rem;
}

.destination-card-premium .destination-arrow {
    width: fit-content;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(9, 107, 114, 0.08);
}

.city-landing-premium {
    overflow: hidden;
    margin-bottom: 2.3rem;
    padding: clamp(2rem, 6vw, 5.5rem);
    isolation: isolate;
}

.city-landing-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(9, 107, 114, 0.18), transparent 23rem),
        radial-gradient(circle at 84% 14%, rgba(201, 143, 61, 0.17), transparent 24rem);
    z-index: -1;
}

.city-landing-premium h1 {
    max-width: 900px;
    letter-spacing: -0.07em;
}

.city-landing-premium .city-intro {
    max-width: 860px;
    font-size: 1.12rem;
}

.result-summary {
    margin-top: 0.3rem;
    margin-bottom: 1.6rem;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
}

.listing-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(11, 22, 35, 0.075);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.listing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(9, 107, 114, 0.2);
    box-shadow: var(--shadow-md);
}

.listing-card-media {
    height: 230px;
    overflow: hidden;
    background: #e2ecee;
}

.listing-card-media img,
.listing-card-media .photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.listing-card:hover .listing-card-media img {
    transform: scale(1.045);
}

.listing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.05rem;
}

.listing-card-type {
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.36rem 0.62rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.72rem;
    font-weight: 840;
}

.listing-card h2,
.listing-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.32;
    letter-spacing: -0.025em;
}

.listing-card h2 a,
.listing-card h3 a {
    color: var(--color-ink);
    text-decoration: none;
}

.listing-card h2 a:hover,
.listing-card h3 a:hover {
    color: var(--color-primary);
}

.listing-card-location {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.listing-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(11, 22, 35, 0.07);
    font-size: 0.9rem;
    font-weight: 800;
}

.listing-card-footer a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.why-grid .card {
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 251, 0.86));
}

@media (max-width: 991.98px) {
    .discovery-hero {
    min-height: auto;
}

    .listing-card-media {
    height: 210px;
}}

@media (max-width: 767.98px) {
    .discovery-hero,
    .city-landing-premium {
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
}

    .discovery-hero .hero-title,
    .city-landing-premium h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
}

    .premium-search #form-recherche {
    min-height: auto;
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

    .premium-search .btn {
    min-width: 0;
}

    .destination-card-premium {
    min-height: 160px;
}

    .listing-card-media {
    height: 220px;
}}

/* Correctifs finaux post-refonte */
.hero-travel.discovery-hero {
    overflow: visible;
}

.listing-card-media,
.nearby-card-media {
    aspect-ratio: 4 / 3;
    height: auto;
}

.listing-card-media img,
.listing-card-media .photo-placeholder,
.nearby-card-media img,
.nearby-card-media .photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-search .autocomplete-ville-liste,
.premium-search .autocomplete-ville-liste {
    z-index: 5000;
}

/* Passe éditoriale - typographie et labels */
:root {
    --color-title: #13283a;
    --color-title-deep: #071b2c;
    --color-copy: #43566a;
    --color-copy-soft: #6f8191;
}

body {
    color: var(--color-copy);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.property-title,
.city-landing-premium h1,
.section-heading h2,
.listing-card h2,
.listing-card h3,
.destination-card h3 {
    color: var(--color-title);
}

.hero-title,
.property-title,
.city-landing-premium h1 {
    color: var(--color-title-deep);
    text-wrap: balance;
}

.property-hero-premium .property-title {
    color: #fff;
}

.hero-subtitle,
.city-intro,
.section-heading p,
.destination-meta,
.listing-card-location,
.why-grid p,
.site-footer p {
    color: var(--color-copy-soft);
}

.hero-eyebrow,
.section-kicker,
.listing-card-type,
.destination-arrow,
.trust-pill {
    color: var(--color-primary-dark);
    font-weight: 850;
}

.hero-eyebrow,
.section-kicker {
    letter-spacing: 0.09em;
}

.trust-pill {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(9, 107, 114, 0.13);
    box-shadow: var(--shadow-xs);
}

.section-heading h2 {
    letter-spacing: -0.045em;
}

.section-heading p {
    font-size: 1rem;
    line-height: 1.75;
}

/* Navigation active */
.site-header .nav-link.is-active,
.site-header .nav-link[aria-current="page"] {
    color: var(--color-primary-dark) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.45)),
        linear-gradient(135deg, rgba(9, 107, 114, 0.14), rgba(201, 143, 61, 0.12));
    box-shadow:
        inset 0 0 0 1px rgba(9, 107, 114, 0.16),
        0 12px 30px rgba(9, 107, 114, 0.12);
}

.site-header .nav-link.is-active::after,
.site-header .nav-link[aria-current="page"]::after {
    content: "";
    display: block;
    width: 1.6rem;
    height: 2px;
    margin: 0.28rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

@media (max-width: 991.98px) {
    .site-header .nav-link.is-active,
    .site-header .nav-link[aria-current="page"] {
    background:
            linear-gradient(135deg, rgba(9, 107, 114, 0.13), rgba(201, 143, 61, 0.1));
}

    .site-header .nav-link.is-active::after,
.site-header .nav-link[aria-current="page"]::after {
    margin-left: 0;
    margin-right: 0;
}}

/* Finitions UI compactes */
.site-header .navbar {
    padding: 0.42rem 0;
}

.site-logo {
    height: clamp(36px, 4vw, 46px);
    max-width: min(220px, 54vw);
}

.site-logo-footer {
    height: 48px;
    max-width: 230px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.hero-title {
    font-size: clamp(2.25rem, 5.4vw, 4.8rem);
}

.discovery-hero .hero-title {
    font-size: clamp(2.35rem, 5.8vw, 5.2rem);
}

.city-landing-premium h1 {
    font-size: clamp(2.1rem, 4.7vw, 4.5rem);
}

.property-title {
    font-size: clamp(1.9rem, 3.6vw, 3.65rem);
}

.section-heading h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.btn-primary {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
        linear-gradient(135deg, #071b2c 0%, #123b58 58%, #b98635 100%);
    box-shadow: 0 16px 36px rgba(7, 27, 44, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
        linear-gradient(135deg, #061522 0%, #0f3149 52%, #c69545 100%);
    box-shadow: 0 18px 42px rgba(7, 27, 44, 0.3);
}

.site-header .nav-link,
.site-header .nav-item:last-child .nav-link,
.site-header .nav-link-cta {
    color: rgba(11, 22, 35, 0.68) !important;
    background: transparent;
    box-shadow: none;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-item:last-child .nav-link:hover,
.site-header .nav-item:last-child .nav-link:focus {
    color: var(--color-ink) !important;
    background: rgba(7, 27, 44, 0.07);
    box-shadow: none;
}

.listing-card.is-clickable {
    position: relative;
    cursor: pointer;
}

.listing-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
}

.listing-card-link:focus-visible {
    outline: 3px solid rgba(184, 134, 53, 0.42);
    outline-offset: 4px;
}

.listing-card-body,
.listing-card-media,
.listing-card-footer {
    position: relative;
    z-index: 1;
}

.listing-card-cta {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.listing-card.is-clickable:hover .listing-card-cta {
    color: #8a5f1f;
}

@media (max-width: 767.98px) {
    .site-header .navbar {
    padding: 0.36rem 0;
}

    .site-logo {
    height: 38px;
    max-width: 188px;
}

    .site-logo-footer {
    height: 44px;
}

    .hero-title,
    .discovery-hero .hero-title,
    .city-landing-premium h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
}}

/* Galerie locale fiche hébergement */
.property-gallery {
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    scrollbar-width: thin;
}

.property-gallery-thumb {
    flex: 0 0 86px;
    width: 86px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #eef4f5;
    box-shadow: 0 10px 24px rgba(7, 27, 44, 0.14);
    cursor: pointer;
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.property-gallery-thumb:hover,
.property-gallery-thumb:focus-visible,
.property-gallery-thumb.is-active {
    transform: translateY(-2px);
    border-color: #b98635;
    box-shadow: 0 14px 32px rgba(7, 27, 44, 0.2);
}

.property-gallery-thumb img,
.property-hero-media .property-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.property-hero-media.has-gallery .js-gallery-main-image {
    display: block;
    width: 100%;
    height: calc(100% - 90px);
    min-height: 410px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .property-gallery {
    padding: 0.7rem;
}

    .property-gallery-thumb {
    flex-basis: 74px;
    width: 74px;
    height: 62px;
}

    .property-hero-media.has-gallery .js-gallery-main-image {
    min-height: 240px;
}}

/* Debug autocomplete temporaire */
.autocomplete-debug-panel {
    position: relative;
    z-index: 4500;
    display: grid;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.8rem;
    border: 1px solid rgba(184, 134, 53, 0.28);
    border-radius: 16px;
    background: rgba(255, 250, 232, 0.98);
    color: #3d2b00;
    box-shadow: 0 18px 44px rgba(7, 27, 44, 0.14);
    font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-align: left;
}

.autocomplete-debug-panel strong {
    color: #7a5200;
    letter-spacing: 0.04em;
}

.autocomplete-debug-panel span {
    display: grid;
    gap: 0.12rem;
}

.autocomplete-debug-panel em {
    font-style: normal;
    font-weight: 800;
}

.autocomplete-debug-panel code {
    display: block;
    max-width: 100%;
    padding: 0.2rem 0.3rem;
    overflow-wrap: anywhere;
    white-space: normal;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    color: #3d2b00;
}


.hebergement-description-enhanced {
    position: relative;
    border: 1px solid rgba(12, 52, 81, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    box-shadow: 0 12px 34px rgba(12, 52, 81, 0.08);
}

.description-editorial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.description-editorial-badge {
    text-transform: uppercase;
    letter-spacing: .04em;
}

.description-editorial-content h2 {
    margin-top: 0;
}

.description-editorial-note {
    margin: 18px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(12, 52, 81, 0.10);
    color: #6c757d;
    font-size: 12px;
    line-height: 1.45;
}

/* Amélioration premium hero accueil / pays */
.discovery-hero.hero-premium {
    position: relative;
    isolation: isolate;
    padding: clamp(3.2rem, 7vw, 6.8rem) clamp(1.2rem, 5vw, 5.4rem);
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(135deg, rgba(7, 22, 34, 0.72), rgba(9, 107, 114, 0.38)),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.34), transparent 18rem),
        radial-gradient(circle at 88% 12%, rgba(201, 143, 61, 0.34), transparent 24rem),
        linear-gradient(135deg, #073540 0%, #0a737a 48%, #f4ead7 100%);
    color: #fff;
    box-shadow:
        0 38px 110px rgba(7, 22, 34, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.discovery-hero.hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 22, 34, 0.48), rgba(7, 22, 34, 0.08) 58%, rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.18), transparent 22rem);
}

.discovery-hero.hero-premium::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    z-index: -1;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 58%),
        linear-gradient(135deg, rgba(201, 143, 61, 0.26), rgba(9, 107, 114, 0.18));
    filter: blur(1px);
}

.discovery-hero .hero-eyebrow {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.discovery-hero .hero-title {
    color: #fff;
    text-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.discovery-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.discovery-hero .premium-search {
    margin-top: 2rem;
}

.discovery-hero .premium-search #form-recherche {
    padding: 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 28px 80px rgba(7, 22, 34, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.discovery-hero .premium-search .form-control {
    min-height: 3.55rem;
    padding-left: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-ink);
    font-weight: 700;
}

.discovery-hero .premium-search .form-control::placeholder {
    color: rgba(11, 22, 35, 0.48);
    font-weight: 650;
}

.discovery-hero .premium-search .btn-primary {
    min-height: 3.55rem;
    padding-inline: 1.65rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
        linear-gradient(135deg, #0b6f77, #13a0a8);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.discovery-hero .trust-row {
    margin-top: 1.45rem;
    gap: 0.7rem;
}

.discovery-hero .trust-pill {
    position: relative;
    min-height: 2.65rem;
    padding: 0.62rem 0.92rem 0.62rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.discovery-hero .trust-pill::before {
    content: "";
    position: absolute;
    left: 0.78rem;
    top: 50%;
    width: 0.78rem;
    height: 0.78rem;
    transform: translateY(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f4d7a3);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

/* Badge cache moins triste au-dessus du hero */
.cache-source-wrapper {
    margin-bottom: 1rem !important;
    opacity: 0.72;
}

.cache-source-wrapper:hover {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .discovery-hero.hero-premium {
    padding: 2.2rem 1.1rem;
    border-radius: 28px;
}

    .discovery-hero .premium-search #form-recherche {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
}

    .discovery-hero .trust-pill {
    width: 100%;
    justify-content: flex-start;
}}

/* Correctif angles hero premium */
.discovery-hero.hero-premium {
    overflow: hidden;
    border-radius: 44px;
    background-clip: padding-box;
}

.discovery-hero.hero-premium::before,
.discovery-hero.hero-premium::after {
    border-radius: inherit;
}

/* Neutralise l'ancien rond décoratif de .hero-travel qui peut gêner les angles */
.hero-travel.discovery-hero::after {
    right: -8rem;
    bottom: -9rem;
    border-radius: 50%;
}

/* Sécurité : évite qu'un fond interne apparaisse dans les coins */
.discovery-hero.hero-premium > * {
    position: relative;
    z-index: 2;
}

/* Correctif autocomplete au-dessus des pills du hero */
.discovery-hero.hero-premium {
    overflow: visible;
}

.discovery-hero.hero-premium::before,
.discovery-hero.hero-premium::after {
    pointer-events: none;
}

.discovery-hero .premium-search,
.discovery-hero .hero-search,
.discovery-hero #form-recherche,
.discovery-hero .autocomplete-ville-wrapper {
    position: relative;
    z-index: 100;
}

.discovery-hero .trust-row {
    position: relative;
    z-index: 10;
}

.discovery-hero .autocomplete-ville-liste {
    position: absolute;
    z-index: 9999;
}

.site-brand-premium {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-premium {
    display: block;
    width: auto;
    height: clamp(48px, 5.2vw, 64px);
    max-width: min(320px, 64vw);
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .site-logo-premium {
    height: 46px;
    max-width: 230px;
}}

.site-footer .site-logo-footer-premium {
    height: clamp(54px, 5vw, 72px);
    max-width: min(320px, 80vw);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

.site-footer .site-brand-footer {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .site-footer .site-logo-footer-premium {
    height: 52px;
    max-width: 240px;
}}

.listing-card-find-promo .listing-card-type {
    background: var(--color-accent-soft);
    color: #7a4a08;
}

.listing-card-promo-text {
    margin: 0.45rem 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Correction padding première card fiche hébergement */
.property-main-panel > .property-section:first-of-type {
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-top: 0;
    border: 1px solid rgba(16, 32, 51, 0.08);
}

/* Card présentation éditoriale */
.hebergement-description-enhanced {
    padding: clamp(1.3rem, 2.5vw, 1.8rem) !important;
}

.hebergement-description-enhanced .description-editorial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.hebergement-description-enhanced .section-kicker {
    margin-bottom: 0;
}

.description-editorial-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.7rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hebergement-description-enhanced .description-editorial-header {
    display: block;
}

    .description-editorial-badge {
    margin-top: 0.65rem;
}}

/* =========================================================
   Autocomplete premium : focus, z-index, animation
   ========================================================= */

.hero-travel,
.discovery-hero,
.city-landing,
.city-landing-premium,
.hero-premium,
.discovery-section {
    overflow: visible;
}

.hero-search,
.premium-search,
#form-recherche,
.autocomplete-ville-wrapper {
    position: relative;
}

.hero-search,
.premium-search {
    z-index: 5000;
}

#form-recherche {
    z-index: 5100;
}

.autocomplete-ville-wrapper {
    z-index: 5200;
}

.autocomplete-ville-liste {
    z-index: 99999 !important;
    top: calc(100% + 14px);
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(11, 22, 35, 0.10);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 34px 90px rgba(7, 22, 34, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Le bloc qui suit ne doit jamais recouvrir la liste */
.discovery-section,
.result-summary,
.row.g-3 {
    position: relative;
    z-index: 1;
}

/* Animation premium au focus */
.premium-search #form-recherche:focus-within,
.hero-search #form-recherche:focus-within {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 32px 95px rgba(7, 22, 34, 0.24),
        0 0 0 5px rgba(201, 143, 61, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.premium-search #form-recherche,
.hero-search #form-recherche {
    transition:
        transform 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        border-color 0.24s var(--ease),
        background 0.24s var(--ease);
}

.premium-search .form-control:focus,
.hero-search .form-control:focus {
    background: #fff;
    box-shadow: none;
}

/* Petite lueur animée discrète */
.premium-search #form-recherche::after,
.hero-search #form-recherche::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    background:
        linear-gradient(135deg, rgba(9, 107, 114, 0.28), rgba(201, 143, 61, 0.22));
    filter: blur(14px);
    transition: opacity 0.24s var(--ease);
}

.premium-search #form-recherche:focus-within::after,
.hero-search #form-recherche:focus-within::after {
    opacity: 1;
}

/* Sur mobile, liste un peu moins haute */
@media (max-width: 767.98px) {
    .autocomplete-ville-liste {
        max-height: 280px;
    }
}

/* =========================================================
   08. FIX FINAL — autocomplete toujours au-dessus du contenu
   ---------------------------------------------------------
   À garder tout en bas : ce bloc verrouille le z-index de
   l'autocomplete sans modifier les fiches hébergement.
   ========================================================= */

/* Le hero doit pouvoir laisser sortir la liste */
.hero-travel,
.hero-premium,
.discovery-hero,
.premium-search,
.hero-search,
#form-recherche,
.autocomplete-ville-wrapper {
    overflow: visible !important;
}

/* Le hero passe au-dessus des sections suivantes pendant l'autocomplete */
.discovery-hero {
    position: relative;
    z-index: 1000 !important;
}

/* Le moteur de recherche est au-dessus des pills */
.discovery-hero .hero-search,
.discovery-hero .premium-search {
    position: relative;
    z-index: 1100 !important;
}

.discovery-hero #form-recherche {
    position: relative;
    z-index: 1200 !important;
}

.discovery-hero .autocomplete-ville-wrapper {
    position: relative;
    z-index: 1300 !important;
}

/* La liste elle-même */
.discovery-hero .autocomplete-ville-liste,
.autocomplete-ville-liste {
    position: absolute;
    z-index: 99999 !important;
}

/* Les éléments sous le hero ne doivent pas repasser devant */
.discovery-section,
.discovery-section.mb-5,
.result-summary,
.row.g-3 {
    position: relative;
    z-index: 1;
}

/* Les pills restent derrière la liste */
.discovery-hero .trust-row {
    position: relative;
    z-index: 10 !important;
}

/* Card avec description éditoriale disponible */
.listing-card-premium-desc {
    position: relative;
    border-color: rgba(201, 143, 61, 0.46);
    box-shadow:
        inset 0 0 0 1px rgba(201, 143, 61, 0.22),
        0 16px 38px rgba(201, 143, 61, 0.12),
        var(--shadow-sm);
}

/* Fin liseré doré en haut */
.listing-card-premium-desc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    z-index: 6;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 143, 61, 0.95),
        rgba(245, 198, 106, 0.95),
        rgba(201, 143, 61, 0.95),
        transparent
    );
}

.listing-card-premium-desc:hover {
    border-color: rgba(201, 143, 61, 0.68);
    box-shadow:
        inset 0 0 0 1px rgba(201, 143, 61, 0.30),
        0 20px 48px rgba(201, 143, 61, 0.18),
        var(--shadow-md);
}