.learning-path-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 90, 47, .11), transparent 28%),
    radial-gradient(circle at 16% 0, rgba(23, 105, 210, .11), transparent 30%),
    linear-gradient(180deg, #fff, #f8fbff);
}

.learning-path-kicker {
  margin: 13px 0 0;
  color: var(--blue);
  font-size: var(--text-label);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.learning-path-kicker + h1 {
  margin-top: 8px;
}

.learning-path-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.learning-path-facts span {
  min-height: 46px;
  padding: 8px 14px;
  display: grid;
  align-content: center;
  gap: 1px;
  border: 1px solid #dbe6f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.learning-path-facts strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.learning-path-overview > :first-child {
  margin-top: 0;
}

.learning-path-materials {
  margin-top: 38px;
  padding: 3px 23px 22px;
  border: 1px solid #dae7f6;
  border-radius: 17px;
  background: #f6faff;
}

.learning-path-materials h2 {
  margin-top: 25px;
  font-size: 26px;
}

.learning-path-materials h2::before {
  width: 34px;
  height: 3px;
}

.learning-path-materials p {
  margin-bottom: 0;
  color: #4f6178;
  font-size: 16px;
  line-height: 1.7;
}

.learning-path-module {
  scroll-margin-top: 104px;
  margin-top: 58px;
}

.learning-path-module-header {
  margin-bottom: 22px;
}

.learning-path-module-header > span {
  display: inline-flex;
  min-height: 27px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: var(--text-label);
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.article-content .learning-path-module-header h2 {
  margin: 10px 0 0;
}

.article-content .learning-path-module-header h2::before {
  display: none;
}

.learning-path-module-header p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.learning-path-lessons {
  display: grid;
  gap: 20px;
}

.learning-path-lesson {
  scroll-margin-top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(28, 53, 91, .065);
}

.learning-path-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(237, 92, 55, .22), transparent 29%),
    radial-gradient(circle at 20% 82%, rgba(190, 72, 183, .17), transparent 33%),
    linear-gradient(145deg, #172c4b, #174f92 62%, #1769d2);
}

.learning-path-player button {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.learning-path-player button::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  transition: background-color .16s ease, border-color .16s ease;
}

.learning-path-player button:hover::before {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .055);
}

.learning-path-player button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -8px;
}

.learning-path-player button > span {
  position: relative;
  z-index: 1;
}

.learning-path-play-icon {
  width: 60px;
  height: 60px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 12px 30px rgba(4, 18, 38, .2);
  backdrop-filter: blur(8px);
}

.learning-path-play-icon svg {
  width: 31px;
  height: 31px;
}

.learning-path-player button strong,
.learning-path-player button small {
  display: block;
  text-align: left;
}

.learning-path-player button strong {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.learning-path-player button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.learning-path-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.learning-path-player noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #fff;
  text-align: center;
}

.learning-path-player noscript a {
  text-decoration: underline;
}

.learning-path-lesson-body {
  padding: 22px 23px 24px;
}

.learning-path-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learning-path-lesson-meta span {
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f5fa;
  color: #5d6e84;
  font-size: 11px;
  font-weight: 850;
}

.learning-path-lesson-meta span:first-child {
  background: var(--blue-soft);
  color: var(--blue);
}

.article-content .learning-path-lesson h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.article-content .learning-path-channel {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.learning-path-channel a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content .learning-path-objective,
.article-content .learning-path-lesson-materials {
  margin: 17px 0 0;
  color: #4e6077;
  font-size: 15px;
  line-height: 1.65;
}

.article-content .learning-path-lesson-materials {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  background: #f7f9fc;
}

.learning-path-youtube-link {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #f1f6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.learning-path-youtube-link:hover {
  border-color: #abc9f4;
  background: #e8f1ff;
  color: var(--blue-dark);
}

.learning-path-youtube-link:focus-visible {
  outline: 3px solid rgba(23, 105, 210, .25);
  outline-offset: 3px;
}

.learning-path-empty,
.learning-path-archive-empty {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafc;
  color: var(--muted);
  text-align: center;
}

.learning-path-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.learning-path-empty p {
  margin: 8px 0 0;
}

/* Arquivo de trilhas */
.learning-path-archive-hero .hero-grid {
  grid-template-columns: minmax(0, 820px);
}

.learning-path-archive-section {
  padding-bottom: 64px;
}

.learning-path-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.learning-path-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(34, 58, 98, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.learning-path-card:hover {
  transform: translateY(-3px);
  border-color: #ccd9e8;
  box-shadow: 0 19px 43px rgba(34, 58, 98, .11);
}

.learning-path-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.learning-path-card-link:focus-visible {
  outline: 4px solid rgba(23, 105, 210, .34);
  outline-offset: -4px;
}

.learning-path-card-cover {
  height: 188px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(237, 92, 55, .24), transparent 29%),
    radial-gradient(circle at 20% 82%, rgba(190, 72, 183, .18), transparent 33%),
    linear-gradient(145deg, #173052, #1769d2);
}

.learning-path-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learning-path-card-play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.learning-path-card-play svg {
  width: 31px;
  height: 31px;
}

.learning-path-card-body {
  padding: 21px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.learning-path-card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.learning-path-card-labels span {
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f0f6ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.learning-path-card-labels span + span {
  background: #f2f5f9;
  color: var(--muted);
}

.learning-path-card h3 {
  margin: 12px 0 0;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.028em;
}

.learning-path-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.learning-path-card-facts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.learning-path-card-facts span {
  padding: 4px 8px;
  border-radius: 8px;
  background: #f6f8fb;
  color: #617086;
  font-size: 11px;
  font-weight: 750;
}

.learning-path-card-cta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 13px;
}

.learning-path-archive-empty h2 {
  margin: 0;
}

.learning-path-archive-empty p {
  margin: 10px 0 20px;
}

.learning-path-archive-empty .button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .learning-path-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .learning-path-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-path-facts span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .learning-path-materials {
    padding-inline: 18px;
  }

  .learning-path-module {
    margin-top: 46px;
  }

  .learning-path-player button {
    padding: 16px;
    gap: 11px;
  }

  .learning-path-player button::before {
    inset: 10px;
  }

  .learning-path-play-icon {
    width: 50px;
    height: 50px;
  }

  .learning-path-player button strong {
    font-size: 15px;
  }

  .learning-path-player button small {
    max-width: 170px;
    font-size: 10px;
  }

  .learning-path-lesson-body {
    padding: 19px 18px 21px;
  }

  .article-content .learning-path-lesson h3 {
    font-size: 21px;
  }

  .learning-path-youtube-link {
    width: 100%;
  }

  .learning-path-card-grid {
    grid-template-columns: 1fr;
  }

  .learning-path-card-cover {
    height: 210px;
  }
}

@media (max-width: 430px) {
  .learning-path-facts {
    grid-template-columns: 1fr;
  }

  .learning-path-facts span:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .learning-path-player button {
    flex-direction: column;
    text-align: center;
  }

  .learning-path-player button strong,
  .learning-path-player button small {
    text-align: center;
  }

  .learning-path-player button small {
    display: none;
  }

  .learning-path-card-cover {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .learning-path-card {
    transition: none;
  }
}
