/* ── Section Venn ── */
.venn-section {
  padding: var(--space-96) var(--space-32);
  background: var(--color-bg);
}

.venn-section__inner {
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.venn-section__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.venn-section__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-plum-deep);
  line-height: 1.2;
  max-width: 24ch;
  margin-inline: auto;
}

.venn-section__lead {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 56ch;
  margin-inline: auto;
}

/* ── Layout : SVG gauche + panneau droite ── */
.venn-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: var(--space-48);
  align-items: center;
}

.venn-svg-container {
  width: 100%;
}

.venn-svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: crosshair;
}

/* Labels SVG */
.venn-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  fill: #fff;
  letter-spacing: 0.6px;
  pointer-events: none;
  user-select: none;
}

.venn-center-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  fill: #3A2E45;
  pointer-events: none;
  user-select: none;
}

/* ── Panneau de description (apparaît au hover) ── */
.venn-panel-container {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venn-panel {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-large);
  padding: var(--space-32);
  transition: background 280ms ease-out, border-color 280ms ease-out;
}

.venn-panel__header {
  display: flex;
  align-items: center;
  gap: var(--space-12, 0.75rem);
  margin-bottom: var(--space-16);
}

.venn-panel__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 200ms ease;
}

.venn-panel__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-plum-deep);
  line-height: 1.2;
}

.venn-panel__body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}


/* Fallback accessible (masqué visuellement) */
.venn-fallback {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0; margin: -1px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .venn-wrap {
    grid-template-columns: 1fr;
  }
  .venn-svg-container {
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
  }
  .venn-panel {
    transform: translateY(8px);
  }
  .venn-panel.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .venn-section {
    padding: var(--space-64) var(--space-24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .venn-panel,
  #venn-base,
  [id^="vov-"] {
    transition: none !important;
  }
}
