/* ==== BARRE DE RECHERCHE ULTRA-MODERNE ==== */
.search-bar-modern {
  margin-top: 40px;
  max-width: 1000px;
  position: relative;
}

.search-container {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 12px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.search-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 165, 167, 0.05) 0%, transparent 50%);
  border-radius: 25px;
  z-index: 1;
}

.search-field {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-field:focus-within {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 25px rgba(0, 165, 167, 0.15);
  transform: translateY(-1px);
}

.search-icon {
  padding: 10px 12px;
  color: #00A5A7;
  font-size: 1em;
  transition: all 0.3s ease;
}

.search-field:focus-within .search-icon {
  color: #00898b;
  transform: scale(1.1);
}

.search-field input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-size: 0.95em;
  outline: none;
  color: #333;
  font-weight: 500;
}

.search-field input::placeholder {
  color: #999;
  font-weight: 400;
}

.search-btn {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #00A5A7 0%, #00898b 100%);
  border: none;
  border-radius: 18px;
  padding: 14px;
  color: white;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
}

.search-btn:hover,
.search-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 165, 167, 0.2);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.search-btn:hover .btn-icon {
  transform: translateX(3px);
}

.search-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 35px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-tag:hover {
  background: rgba(255, 255, 255, 1);
  color: #00A5A7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 165, 167, 0.15);
}

.feature-tag i {
  color: #00A5A7;
  font-size: 1em;
}

/* Animation de particules en arrière-plan */
.search-bar-modern::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 165, 167, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 165, 167, 0.1) 0%, transparent 50%);
  border-radius: 35px;
  z-index: -1;
  animation: searchGlow 4s ease-in-out infinite alternate;
}

@keyframes searchGlow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.02); }
}

/* Responsive */
@media (max-width: 768px) {
  .search-bar-modern {
    max-width: 100%;
  }
  
  .search-container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px;
  }
  
  .search-btn {
    padding: 12px;
    font-size: 1em;
    justify-content: center;
    width: 45px;
    height: 45px;
  }
  
  .search-features {
    gap: 15px;
    margin-top: 20px;
  }
  
  .feature-tag {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .search-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
    font-size: 0.9em;
  }
}
