/* MOCHI TRIPTYCH COMPONENT CSS — Les 3 Chemins d'Apprentissage
 * Écouter 🎧 | Voir 👁️ | Lire un exemple 📖
 */

.mochi-triptych-card {
  box-sizing: border-box;
  background: #0b1329;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 16px;
  max-width: 680px;
  width: 100%;
  margin: 14px auto;
  color: #f8fafc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

.mochi-triptych-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 10px;
}

.mochi-triptych-title {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mochi-triptych-badge {
  font-size: 11px;
  font-weight: 700;
  background: #1e293b;
  color: #a855f7;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  border: 1px solid #334155;
}

.mochi-triptych-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mochi-triptych-tab {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid #334155;
  padding: 10px 6px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease-in-out;
  outline: none;
}

.mochi-triptych-tab:hover {
  background: #273549;
  color: #f1f5f9;
}

.mochi-triptych-tab[aria-selected="true"] {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mochi-triptych-pane {
  display: none;
  animation: mochiFadeIn 0.25s ease-in-out;
}

.mochi-triptych-pane.active {
  display: block;
}

@keyframes mochiFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mochi-audio-box {
  background: #1e293b;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #334155;
}

.mochi-visual-box {
  background: #0f172a;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #334155;
  text-align: center;
}

.mochi-example-step {
  background: #1e293b;
  border-left: 3px solid #3b82f6;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.mochi-tip-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid #f59e0b;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fef3c7;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}
