/* ═══════════════════════════════════════════════════════════════════
   Technique Explorer — mc/technique-explorer
   ═══════════════════════════════════════════════════════════════════ */

/* ── Section ───────────────────────────────────────────────────── */

.mc-technique-explorer {
  padding-block: clamp(3rem, 5vw, 5rem);
}

/* ── Grille 2 colonnes ─────────────────────────────────────────── */

.mc-technique-explorer__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  justify-items: center;
  max-width: var(--wp--style--global--wide-size, 1440px);
  margin-inline: auto;
  padding-inline: 2rem;
  align-items: center;
}

/* ── Col 1 : vidéo 9/16 ────────────────────────────────────────── */

.mc-technique-explorer__video-wrap {
  position: relative;
  overflow: hidden;
}

.mc-technique-explorer__video {
  display: block;
  height: calc(90vh - 70px);
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 25px;
  object-fit: cover;
}

.mc-technique-explorer__video-placeholder {
  background-color: var(--wp--preset--color--teal-sombre);
  aspect-ratio: 9/16;
  border-radius: 25px;
  height: calc(90vh - 70px);
}

/* ── Col 2 : fond teal ─────────────────────────────────────────── */

.mc-technique-explorer__col-right {
  background-color: var(--wp--preset--color--teal);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 25px;
}

/* ── Header fixe ───────────────────────────────────────────────── */

.mc-technique-explorer__section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: var(--wp--custom--typography--leading-tight);
  color: var(--wp--preset--color--turquoise);
  margin: 0 0 0.75rem;
}

.mc-technique-explorer__section-title em {
  font-style: italic;
  color: var(--wp--preset--color--turquoise);
  font-variation-settings: "wght" 900;
}

.mc-technique-explorer__section-text {
  font-size: var(--wp--preset--font-size--base);
  line-height: var(--wp--custom--typography--leading-normal);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 44ch;
}

/* ── Zone dynamique ────────────────────────────────────────────── */

.mc-technique-explorer__body {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  align-items: flex-start;
  min-height: 0;
  margin-inline-start: calc(clamp(-3.5rem, -4vw, -2rem) - calc(57px / 2));
}

/* ── Navigation : vignettes verticales ────────────────────────── */

.mc-technique-explorer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mc-technique-explorer__thumb {
  width: 57px;
  height: 57px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 200ms ease,
    opacity 200ms ease;
  opacity: 0.6;
}

.mc-technique-explorer__thumb.is-active,
.mc-technique-explorer__thumb:hover {
  opacity: 1;
}

.mc-technique-explorer__thumb.is-active {
  border-color: var(--wp--preset--color--corail);
}

.mc-technique-explorer__thumb img,
.mc-technique-explorer__thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mc-technique-explorer__thumb-placeholder {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ── Panels ────────────────────────────────────────────────────── */

.mc-technique-explorer__panels {
  flex: 1;
  min-width: 0;
}

.mc-technique-explorer__panel {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.mc-technique-explorer__panel.is-active {
  display: flex;
}

.mc-technique-explorer__tech-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  align-self: start;
  padding: 6px 14px 6px 10px;
  border-radius: var(--wp--custom--radius--full);
  background-color: var(--wp--preset--color--blanc);
}

.mc-technique-explorer__tech-dot {
  flex-shrink: 0;
  color: var(--wp--preset--color--teal);
}

.mc-technique-explorer__tech-title {
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 900;
  font-variation-settings: "wght" 900;
  line-height: var(--wp--custom--typography--leading-tight);
  color: var(--wp--preset--color--teal);
  margin: 0;
}

.mc-technique-explorer__tech-text {
  font-size: var(--wp--preset--font-size--base);
  line-height: var(--wp--custom--typography--leading-normal);
  color: rgba(255, 255, 255, 0.85);
}

.mc-technique-explorer__tech-text p {
  margin: 0;
}

/* ── Checklist ─────────────────────────────────────────────────── */

.mc-technique-explorer__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mc-technique-explorer__check-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--wp--preset--font-size--sm);
  line-height: var(--wp--custom--typography--leading-normal);
  color: rgba(255, 255, 255, 0.9);
}

.mc-technique-explorer__check-icon {
  flex-shrink: 0;
  color: var(--wp--preset--color--corail);
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .mc-technique-explorer__inner {
    grid-template-columns: 1fr;
  }

  /* La vidéo retrouve son aspect-ratio 9/16 en colonne */
  .mc-technique-explorer__video-wrap {
    aspect-ratio: 9 / 16;
    max-height: 60vw;
  }

  .mc-technique-explorer__video,
  .mc-technique-explorer__video-placeholder {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .mc-technique-explorer__body {
    flex-direction: column;
  }

  .mc-technique-explorer__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
