/* ── BANNIÈRE ── */
.banniere-annonces img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.titre-banniere {
    font-size: 50px;
    font-weight: 700;
}

/* ── FILTRES ── */
.filtres-bar {
    background: #fff;
    border-bottom: 1px solid #e0ddd6;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filtres-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.filtre-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filtre-group label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

.filtre-group select {
    padding: 8px 12px;
    border: 1px solid #ddd8d0;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Montserrat Alternates', sans-serif;
    color: #22333B;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    min-width: 160px;
}

.filtre-group select:focus { border-color: #5f7f6f; }

/* ── GRILLE ── */
.annonces-grid-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.annonces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── CARD ── */
.annonce-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.annonce-card {
    background: white;
    border: 1.5px solid #ddd8d0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.annonce-card:hover {
    border-color: #5f7f6f;
    transform: translateY(-3px);
}

.annonce-img-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.annonce-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.annonce-card:hover .annonce-img { transform: scale(1.05); }

.annonce-body {
    padding: 18px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.annonce-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.badge-custom {
    background-color: #5b6f5b;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
}

.annonce-titre {
    font-size: 15px;
    font-weight: 700;
    color: #22333B;
    margin: 0 0 6px;
}

.annonce-prix {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px;
}

.annonce-lieu {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ── VIDE ── */
.annonces-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-size: 15px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .annonces-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .banniere-annonces img { height: 220px; }
    .titre-banniere { font-size: 28px !important; }
    .annonces-grid { grid-template-columns: 1fr; }
    .annonces-grid-wrapper { padding: 28px 16px 60px; }
    .filtres-inner { padding: 0 16px; gap: 10px; }
    .filtre-group select { min-width: 120px; }
}
