body {
  font-size: 15px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  background: white;
  color: #222;
}

/* PAGE */
#page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* TITRE */
h1 {
  background: linear-gradient(90deg, #e6f4f9, #f3f7ff);
  padding: 5px;
  margin: 10px 0 20px 0;
  border: 1px solid #d6e6f2;
  border-radius: 12px;
  width: min(1200px, 95%);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}

/* SEARCH */
#searchZone {
  width: 100%;
  max-width: 600px;
  margin: 10px 0 25px 0;
  position: relative;
}

#searchInput {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  transition: 0.2s;
  background: white;
}

#searchInput:focus {
  border-color: #7aa7ff;
  box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.2);
}

/* CONTAINER */
#container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

/* CARDS */
.item {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 14px;
  width: 30%;
  min-width: 320px;
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* TITRES SECTIONS */
h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* LISTES */
.item ul {
  padding-left: 0;
  list-style: none;
}

.item li {
  padding: 8px 10px;
  margin: 4px 0;
  border-radius: 8px;
  transition: background 0.15s ease;
}

/* LIENS */
.liens {
  cursor: pointer;
}

.liens:hover {
  background: #f2f6ff;
  font-weight: 500;
}

/* NOTIF */
.copy-notif {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: #d1f7d6;
  color: #1f7a3a;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  transition: top 0.35s ease, opacity 0.35s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.copy-notif.show {
  top: 20px;
  opacity: 1;
}

/* SEARCH RESULTS */
#searchResults {
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 5000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.searchResult {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2;
}

.searchResult:hover {
  background: #f5f7ff;
}

/* MOBILE */
@media (max-width: 767px) {
  .item {
    width: 95%;
    min-width: 0;
  }
}