


.search-hero-index {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}


.search-hero-races {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 20px;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 700px; /* moins large */
}

.search-box input {
  width: 100%;
  height: 50px;
  padding: 0 24px 0 60px;
  font-size: 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent-color);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-box input::placeholder {
  color: #9aa0a6;
}

/* focus à la Google */
.search-box input:focus {
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* icône loupe */
.search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color:  var(--accent-color);
  pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
  .search-box input {
    height: 56px;
    font-size: 1.1rem;
  }
}