#cheese-section {
  /* hauteur fixe max mais responsive */
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 100px auto;
}
#container {
  width: 90vmin; /* responsive taille carrée */
  height: 90vmin;
  position: relative;
}
canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent;
}
.label {
  position: absolute;
  user-select: none;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  transform: translate(-55%, -50%);
}
.label:hover {
  cursor: pointer;
}

#cvButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: none;
  background: #ffca28;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e1e2f;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 202, 40, 0.6);
  transition: background-color 0.3s ease, transform 0.3s ease;
  user-select: none;
  border: 2px solid #332701;
}

#cvButton:hover {
  background: #ffc107;
  transform: translate(-50%, -50%) scale(1.3);
}
#modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
#modalContent {
  background: #333;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 70%;
  max-height: 80%;
  overflow: auto;
  text-align: center;
  color: #fff;
}
#modalClose {
  margin-top: 15px;
  cursor: pointer;
  padding: 6px 12px;
  background: #555;
  border-radius: 5px;
}
#modalClose:hover {
  background: #777;
}

#modalText h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

.content-block {
  margin-bottom: 1.2rem;
  background: #f8f9fa;
  padding: 1rem;
  border: 14px outset #007acc;
  border-radius: 8px;
}

.content-block h4 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #005b99;
  border-bottom: 4px solid;
}

.content-block p,
.content-block ul {
  margin: 0;
  font-size: 1.2rem;
  color: #444;
}

@media screen and (max-width: 768px) {
  #modalText h2 {
    font-size: 1.4rem;
  }

  .content-block {
    padding: 0.8rem;
  }

  .content-block h4 {
    font-size: 1rem;
  }

  .content-block p,
  .content-block ul {
    font-size: 0.9rem;
  }
  .label {
    font-size: 10px;
  }
}
