html,
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* Conteneur principal */
.search-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-input::placeholder {
  color: #888;
}

/* Liste des liens */
#liste-liens {
  width: 400px;
  margin: 25px auto 0;
  padding: 0;
  list-style: none;
}

#liste-liens li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
}

/* Le lien prend toute la place disponible */
#liste-liens li a {
  flex: 1;
  padding: 12px 15px;
  color: #222;
  text-decoration: none;
}

/* Bouton avec les trois points */
.bouton-points {
  width: 40px;
  align-self: stretch;
  border: none;
  border-left: 1px solid #ddd;
  border-radius: 0 6px 6px 0;
  background-color: white;
  color: #555;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Effet au survol */
#liste-liens li:hover {
  background-color: #f5f5f5;
}

.bouton-points:hover {
  background-color: #e9e9e9;
  color: #000;
}

/* Effet au survol */
#liste-liens a:hover {
  background-color: #f0f0f0;
  color: #000;
}

/* Message lorsqu'il n'y a aucun résultat */
#aucun-resultat {
  width: 320px;
  margin: 25px auto 0;
  color: #666;
  text-align: center;
}



header{
  padding: 0;
  height: 100vh;
  width: 20vw;
  display: flex;
  position: fixed;
  border-right: 2px black solid;
  background-color: #DBDBDB;
  flex-direction: column;
  justify-content: space-between;
}

.main{
  padding: 0;
  margin-left: 20vw;
  width: 80vw;
  display: flex;
  flex-direction: column;
}

.txt{
  margin-left: 10vh;
}

.txt p{
  font-size: 20px;
}

.logo{
  width: 9vw;
  height: 9vw;
  margin: 5vh auto;
  border-radius: 90px;
}

header ul{
  list-style: none;
  margin-left: 4vw;
  margin-top: -10vh;
  font-size: 22px;
  font-weight: bold;
}

header a{
  text-decoration: none;
  color: #000000;
}

header a:hover{
  text-decoration: underline;
}

header li{
  margin-bottom: 5vh;
}

header p{
  text-align: center;
}

.intro_search{
  text-align: center;
}

h1{
  text-align: center;
  margin-bottom: 5vh;
  margin-top: 8vh;
  text-decoration: underline;
}

.prevent{
  text-align: center;
  font-weight: bold;
}

#info{
  margin-top: 5vh;
}

.sect{
  font-weight: bold;
  margin-left: 30vw;
}

.end{
	margin-bottom: 10vh;
}

.no_ul{
      list-style: none; /* Supprime les puces classiques */
      padding: 0;
}

.item-description {
  position: relative;
}

.bouton-description {
  display: block;
  margin-left: 5px;
  padding: 0;
  border: none;
  background: transparent;
  color: #222;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}

.bouton-description:hover {
  color: #666;
}

.description-longue {
  position: absolute;
  top: 0;
  left: calc(100% + 15px);
  z-index: 10;

  width: 280px;
  padding: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.description-longue.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}






.search-wrapper {
  position: relative;
  width: 43px;
  height: 43px;
  margin: 0 auto;
  margin-top: 4vh;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-wrapper.active {
  width: 380px;
}

.search-box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #DEDEDE;
  overflow: hidden;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.search-wrapper.active .search-box,
.search-wrapper:hover .search-box {
  background: rgba(255, 255, 255, 0.1);
  border-color: #DEDEDE;
}

.search-btn {
  position: absolute;
  top: 50%;
  left: 4.5px;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.1),
    0 6px 18px rgba(0,0,0,0.18);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  z-index: 2;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.04);
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
}

.search-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.search-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  opacity: 0.95;
}

.search-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 24px 0 82px;
  border: none;
  outline: none;
  background: transparent;
  color: black;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease 0.12s;
}

.search-wrapper.active .search-input {
  opacity: 1;
  pointer-events: auto;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-highlight {
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.03) 30%,
    rgba(255,255,255,0.02) 70%,
    rgba(255,255,255,0.08)
  );
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.4));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.4));
}

.search-wrapper.active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 65%);
  z-index: -1;
  filter: blur(10px);
  opacity: 1;
  animation: pulseGlow 2.4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.02);
  }
}

@media (max-width: 480px) {
  .search-wrapper.active {
    width: 100%;
    max-width: 320px;
  }
