#search-wrapper{
    /*background: linear-gradient(#1d3557 20%, #457b9d 100%);*/
    /*background: linear-gradient(#171513 20%, #457b9d 100%);*/
    overflow: hidden;
    position: relative;
}
/*#search-wrapper .col-annonces {
    background-color: rgba(0, 0, 0, 0.25);
}*/
#search-wrapper h1 {
    transform: scaleY(1.3); 
    transform-origin: center;       
    margin-top: 80px;
    padding: 0px; 
}
#search-wrapper input {
    width: 100%;
    margin: 5px;
    border: none;
    background-color: transparent;
    font-size: 28px;
    color: var(--text-50) !important; 
    font-family: Arial, sans-serif;
    border-bottom: 1px solid #aaa;
}
#search-wrapper input:focus {
    border: none;
    background-color: transparent;
    outline: none;
    border-bottom: 1px solid yellow;
}
#search-wrapper input::placeholder {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--accent);
    transition: all 0.3s ease;
    pointer-events: none;
}
#search-wrapper input:focus::placeholder,
#search-wrapper input:not(:placeholder-shown)::placeholder {
    top: 0;
    transform: translateY(0);
    font-size: 15px;
    color: #666;
}
.consent-bar {
    background-color: #efeeec0f;
    border: 1px solid #efeeec14;
    border-radius: .5em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: auto;
    display: flex;
    margin-top: 1rem;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%); 
}

.col-annonces {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    gap: 0;
}

.etape-num {
    font-family: 'Chango', cursive;
    font-size: 5rem;
    color: #FF8308;
    line-height: 1;
    width: 80px;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    display: block;
}

.etape-label {
    font-family: 'Chango', cursive;
    font-size: 2rem;
    color: white;
    letter-spacing: 0.08em;
}

.etape {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateX(60px);
}

#search-btn {
    font-size: 1.4rem;
    color: white;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: .8em;
    text-align: center;
    transition: all 0.3s ease;
}
#search-btn:hover {
    background: #FF8308;  
    color: black;
    cursor: pointer;
}

#search-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(29, 53, 87, 0.85);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    font-size: 1.3rem;
}
#search-loader.active { display: flex; }
.loader-spinner {
    width: 52px;
    height: 52px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top-color: #FF8308;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#search-error {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #c0392b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    z-index: 1000;
    max-width: 90vw;
    text-align: center;
}
#search-error.active { display: block; }
#map-result-content {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: var(--background-900);
    top: 0;
    left: -100vw;
    z-index: 10;
    transition: left 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
#map-result-content.active  { left: 0; }
#map-result-content.closing { left: 100vw; }
#map { width: 100%; height: 500px; }

/* ── Autocomplétion ville ── */
#ville-wrapper {
    position: relative;
    width: 100%;
}
#ville-wrapper input {
    width: 100%;
}
#ville-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #152843;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 500;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
#ville-suggestions.open { display: block; }
.ville-suggestion-item {
    padding: 12px 16px;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    font-family: Arial, sans-serif;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ville-suggestion-item:last-child { border-bottom: none; }
.ville-suggestion-item .suggestion-main {
    font-weight: bold;
}
.ville-suggestion-item .suggestion-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.ville-suggestion-item:hover,
.ville-suggestion-item.active {
    background: rgba(255, 131, 8, 0.2);
    color: #FF8308;
}
.ville-suggestion-item:hover .suggestion-sub,
.ville-suggestion-item.active .suggestion-sub {
    color: rgba(255, 131, 8, 0.6);
}