/* Studio Unicode — démonstration animée de l'outil (page Technologie) */
.td {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.td-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.td-steps button {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 8px;
  width: 100%;
  padding: 16px 4px 18px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line, rgba(17, 17, 16, 0.14));
  text-align: left;
  font: inherit;
  color: var(--mute, #8a867d);
  cursor: pointer;
  transition: color 0.4s var(--ease, ease);
}
.td-steps button .mono {
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  padding-top: 5px;
}
.td-steps button strong {
  font-family: var(--f-display, sans-serif);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.td-steps button .td-desc {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.6s var(--ease, ease),
    opacity 0.5s var(--ease, ease);
}
.td-steps button.on,
.td-steps button:hover {
  color: var(--ink, #111110);
}
.td-steps button.on .td-desc {
  max-height: 60px;
  opacity: 1;
  color: var(--ink-2, #3a3936);
}
.td-steps button:focus-visible {
  outline: 2px solid var(--ink, #111110);
  outline-offset: 2px;
}
.td-bar {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--ink, #111110);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.td-screen {
  border: 1px solid var(--line, rgba(17, 17, 16, 0.14));
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.45);
}
.td-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: #fbfbfa;
  border-bottom: 1px solid var(--line, rgba(17, 17, 16, 0.14));
}
.td-chrome i {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: #d9d8d3;
}
.td-url {
  margin-left: 12px;
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  color: var(--mute, #8a867d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.td-stage {
  position: relative;
  aspect-ratio: 8 / 5;
  background: #f3f5f8;
}
.td-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.td-scene text {
  font-family: var(--f-body, "Helvetica Neue", sans-serif);
}
.td-note {
  margin: 18px 0 0;
  font-size: 11px;
  color: var(--mute, #8a867d);
  text-align: right;
}
@media (max-width: 960px) {
  .td {
    grid-template-columns: 1fr;
  }
  .td-steps {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(var(--gutter, 16px) * -1);
    padding: 0 var(--gutter, 16px);
  }
  .td-steps::-webkit-scrollbar {
    display: none;
  }
  .td-steps li {
    flex: 0 0 auto;
  }
  .td-steps button {
    grid-template-columns: auto auto;
    padding: 12px 18px 12px 0;
    white-space: nowrap;
  }
  .td-steps button strong {
    font-size: 15px;
  }
  .td-steps button .td-desc {
    display: none;
  }
  .td-note {
    text-align: left;
  }
}
.td-more {
  margin-top: 28px;
}
