/* PR-VIBECURB-06 · Etapa 7 — Documento 04, Caderno de produção do percurso. */

#professores .vb-notebook__header > div,
#professores .vb-notebook__intro > *,
#professores .vb-notebook__entries li,
#professores .vb-notebook__entries li > *,
#professores .vb-notebook__attachment,
#professores .vb-notebook__attachment > header,
#professores .vb-notebook__attachment-meta,
#professores .vb-notebook__attachment > h3,
#professores .vb-notebook__attachment > p,
#professores .vb-notebook__attachment dl > div,
#professores .vb-notebook__attachment blockquote,
#professores .vb-notebook__attachment footer > *,
#professores .vb-notebook__closing > div,
#professores .vb-notebook__closing > div > * {
  will-change: opacity, translate, scale;
}

#professores::before {
  opacity: 1;
  translate: 0 0;
  transition-property: opacity, translate;
  transition-duration: 920ms;
  transition-timing-function: var(--vb-ease-out);
}

html.vb-js.vb-motion-ready #professores:not(.is-notebook-motion-entered)::before {
  opacity: 0;
  translate: 24px 0;
}

#professores .vb-notebook__entries li {
  overflow: visible;
  transform-origin: left top;
  transition-property: opacity, translate, scale, background-color, box-shadow, border-color;
  transition-duration:
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-control),
    var(--vb-motion-control),
    var(--vb-motion-control);
  transition-delay:
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    0ms,
    0ms,
    0ms;
  transition-timing-function:
    var(--vb-motion-easing),
    var(--vb-motion-easing),
    var(--vb-motion-easing),
    var(--vb-ease-snap),
    var(--vb-ease-snap),
    var(--vb-ease-snap);
}

#professores .vb-notebook__entries li::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vb-teal), rgba(12, 145, 133, .18));
  transform-origin: left center;
  scale: 0 1;
  transition-property: scale;
  transition-duration: var(--vb-rhythm-line, 500ms);
  transition-delay: var(--vb-notebook-line-delay, 150ms);
  transition-timing-function: var(--vb-ease-out);
}

html.vb-js.vb-motion-ready #professores .vb-notebook__entries li.is-notebook-entry-entered {
  border-color: rgba(12, 145, 133, .34);
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 18px 42px rgba(12, 23, 21, .08);
}

html.vb-js.vb-motion-ready #professores .vb-notebook__entries li.is-notebook-entry-entered::after {
  scale: 1 1;
}

#professores .vb-notebook__entries li > span.vb-motion-item,
#professores .vb-notebook__entries li > h3.vb-motion-item,
#professores .vb-notebook__entries li > p.vb-motion-item,
#professores .vb-notebook__entries li > small.vb-motion-item,
#professores .vb-notebook__intro h2.vb-motion-item,
#professores .vb-notebook__intro aside strong.vb-motion-item,
#professores .vb-notebook__attachment > h3.vb-motion-item,
#professores .vb-notebook__closing strong.vb-motion-item {
  clip-path: none;
  overflow: visible;
}

#professores .vb-notebook__attachment.vb-motion-item {
  clip-path: none;
  rotate: -1deg;
  transform-origin: center top;
  transition-property: opacity, translate, scale, rotate, box-shadow;
  transition-duration:
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-control);
  transition-delay:
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    0ms;
  transition-timing-function:
    var(--vb-motion-easing),
    var(--vb-motion-easing),
    var(--vb-motion-easing),
    var(--vb-spring-smooth),
    var(--vb-ease-snap);
}

html.vb-js.vb-motion-ready #professores .vb-notebook__attachment.vb-motion-item.is-motion-entered {
  rotate: 0deg;
}

html.vb-js.vb-motion-ready #professores.is-notebook-attachment-entered .vb-notebook__attachment {
  box-shadow: 0 38px 96px rgba(12, 23, 21, .25);
}

#professores .vb-notebook__attachment dl > div {
  transform-origin: center;
}

#professores .vb-notebook__attachment footer > i.vb-motion-item {
  --vb-motion-opacity-from: 1;
  transform-origin: left center;
}

#professores .vb-notebook__closing > div:last-child > a.vb-motion-item {
  transition-property: color, background-size, opacity, translate, scale, box-shadow, background-color, border-color;
  transition-duration:
    var(--vb-motion-fast),
    var(--vb-motion-control),
    var(--vb-motion-duration),
    var(--vb-motion-duration),
    var(--vb-motion-instant),
    var(--vb-motion-control),
    var(--vb-motion-fast),
    var(--vb-motion-fast);
  transition-delay:
    0ms,
    0ms,
    var(--vb-motion-delay),
    var(--vb-motion-delay),
    0ms,
    0ms,
    0ms,
    0ms;
}

@media (min-width: 1001px) {
  #professores {
    overflow: clip;
  }

  #professores .vb-notebook__attachment {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

@media (max-width: 1000px) {
  #professores .vb-notebook__attachment.vb-motion-item {
    rotate: 0deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  #professores::before,
  #professores .vb-notebook__entries li,
  #professores .vb-notebook__entries li::after,
  #professores .vb-notebook__attachment,
  #professores .vb-notebook__closing > div:last-child > a {
    transition: none;
  }

  html.vb-js.vb-motion-ready #professores::before {
    opacity: 1;
    translate: 0 0;
  }

  html.vb-js.vb-motion-ready #professores .vb-notebook__entries li::after {
    scale: 1 1;
  }

  html.vb-js.vb-motion-ready #professores .vb-notebook__attachment.vb-motion-item {
    rotate: 0deg;
  }
}
