.graphique-cafe-wrapper {
  margin: 35px 0;
  padding: 25px;
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
}

.graphique-cafe-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 24px;
}

.graphique-cafe-svg-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.graphique-cafe-svg {
  width: 100%;
  height: auto;
  display: block;
}

.gc-axis {
  stroke: #3a2a1d;
  stroke-width: 1.5;
}

.gc-axis-main {
  stroke-width: 2.5;
}

.gc-grid {
  stroke: #e9e2d8;
  stroke-width: 1;
}

.gc-point {
  cursor: pointer;
  stroke: #fff;
  stroke-width: 2;
  transition: r 0.2s ease, opacity 0.2s ease;
}

.gc-point:hover {
  r: 13;
  opacity: 0.85;
}

.gc-label {
  font-size: 15px;
  fill: #3a2a1d;
}

.gc-label-left {
  text-anchor: start;
}

.gc-label-right {
  text-anchor: end;
}

.gc-axis-title {
  font-size: 17px;
  font-weight: bold;
  fill: #3a2a1d;
  text-anchor: middle;
}

.gc-axis-title-vertical {
  transform: rotate(-90deg);
  transform-origin: 20px 300px;
}

.graphique-cafe-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 15px;
}

.gc-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -1px;
}

.gc-dot-discret {
  background: #2e9d50;
}

.gc-dot-present {
  background: #e3b900;
}

.gc-dot-puissant {
  background: #d63b32;
}

.graphique-cafe-wrapper {
  position: relative;
}

.gc-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  background: #2b1d12;
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: opacity 0.15s ease;
}

.gc-tooltip.is-visible {
  opacity: 1;
}

@media (max-width: 600px) {
  .graphique-cafe-wrapper {
    padding: 15px;
  }

  .graphique-cafe-title {
    font-size: 20px;
  }

  .gc-label {
    font-size: 13px;
  }
}