/* ============================
   MXBZH - RECHERCHE & FILTRES
   ============================ */

.searchbar {
  margin: 0.5rem auto 2rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.searchbar-field {
  width: min(700px, 100%);
  position: relative;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.searchbar-field:hover {
  background: #ffffff;
  border-color: rgba(15, 74, 163, 0.15);
  box-shadow: 0 4px 20px rgba(15, 74, 163, 0.08);
}

#searchInput {
  width: 100%;
  background: transparent;
  color: #1e293b;
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 0.95rem;
}

#searchInput::placeholder {
  color: #94a3b8;
}

.searchbar-field:focus-within {
  background: #ffffff;
  border-color: #0f4aa3;
  box-shadow: 0 0 0 4px rgba(15, 74, 163, 0.1), 0 4px 20px rgba(15, 74, 163, 0.1);
}

.filters-bar {
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.filters-inner {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-end;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid rgba(15, 74, 163, 0.06);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 180px;
  flex: 1 1 0;
  font-size: 0.8rem;
  color: #64748b;
}

.filter-group label {
  padding-left: 0.25rem;
  font-weight: 500;
}

.filter-group select {
  border-radius: 10px;
  border: 1px solid rgba(15, 74, 163, 0.12);
  padding: 0.7rem 1rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-group select:hover {
  border-color: rgba(15, 74, 163, 0.3);
  background: #ffffff;
}

.filter-group select:focus {
  outline: none;
  border-color: #0f4aa3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 74, 163, 0.1);
}

.filter-reset {
  border-radius: 10px;
  border: none;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #0f4aa3 0%, #1a67e3 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(15, 74, 163, 0.25);
}

.filter-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 74, 163, 0.35);
}

/* Section Disponibilités */
#dispos {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

#dispos::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(15, 74, 163, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

#dispos::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(26, 103, 227, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

#dispos .section-header {
  position: relative;
  z-index: 1;
}

#dispos .section-header h2 {
  color: #0d1117;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

#dispos .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

#dispos .section-subtitle a {
  color: #0f4aa3 !important;
}

#dispos .section-subtitle a:hover {
  color: #1a67e3 !important;
}

#dispos .cards-grid {
  position: relative;
  z-index: 1;
}
