@font-face {
  font-family: Bilgie;
  src: url("./assets/fonts/bilgie.otf");
}
@font-face {
  font-family: Dellamonde;
  src: url("./assets/fonts/dellamonde.otf");
}
@font-face {
  font-family: Lato;
  src: url("./assets/fonts/lato-regular.ttf");
}
@font-face {
  font-family: Lato;
  src: url("./assets/fonts/lato-bold.ttf");
  font-weight: 700;
}
:root {
  --navy: #002f6c;
  --blue: #005eb8;
  --taupe: #a89072;
  --paper: #faf8f5;
  --off: #f0eee9;
  --gray: #f2f3f4;
  --ice: #e2eaea;
  --ink: #152235;
  --muted: #5f6670;
  --card: #fffefc;
  --r: 7px;
  --glass-r: 18px;
  --course-light-bg:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(226, 234, 234, 0.88) 0%,
      rgba(226, 234, 234, 0) 42%
    ),
    radial-gradient(
      circle at 18% 18%,
      rgba(168, 144, 114, 0.12) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 84% 76%,
      rgba(0, 94, 184, 0.1) 0%,
      transparent 34%
    ),
    linear-gradient(135deg, #faf8f5 0%, #f2f3f4 48%, #eaf1f4 100%);
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100svh;
  font:
    16px/1.45 Lato,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--course-light-bg);
  background-attachment: fixed;
}
button,
a {
  font: inherit;
}
.course-home {
  min-height: 100svh;
  padding: 24px 4vw 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 100px minmax(0, 1fr) 100px;
}
.course-heading {
  text-align: center;
  position: relative;
  z-index: 5;
  align-self: start;
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.course-heading h1 {
  font-family: Bilgie, Georgia, serif;
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: 0.92;
  margin: 0.25rem 0 0.65rem;
  font-weight: 400;
}
.course-heading p {
  color: var(--muted);
  margin: 0;
}
.course-stage {
  position: relative;
  width: 100%;
  max-width: 1640px;
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(440px, 620px) minmax(
      210px,
      1fr
    );
  align-items: center;
  align-self: center;
  gap: 28px;
}
.orbit {
  position: absolute;
  inset: 11% 14%;
  border: 1px solid rgba(0, 47, 108, 0.16);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-8deg);
}
.orbit.two {
  inset: 20% 7%;
  border-color: rgba(168, 144, 114, 0.22);
  transform: rotate(9deg);
}
.module-column {
  display: grid;
  gap: 20px;
  z-index: 4;
  align-content: center;
}
.module {
  position: relative;
}
.module-column.left .module {
  width: calc(100% + 80px);
}
.module-column.right .module {
  width: calc(100% + 80px);
  transform: translateX(-80px);
}
.module-trigger {
  width: 100%;
  height: 78px;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-left: 4px solid var(--blue);
  border-radius: var(--r);
  background: linear-gradient(
    135deg,
    rgba(255, 254, 252, 0.12),
    rgba(226, 234, 234, 0.05)
  );
  color: var(--ink);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow:
    0 6px 16px rgba(0, 47, 108, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.module:nth-child(even) .module-trigger {
  border-left-color: var(--taupe);
  background: linear-gradient(
    135deg,
    rgba(250, 248, 245, 0.13),
    rgba(240, 238, 233, 0.055)
  );
}
.module-trigger:hover,
.module-trigger[aria-expanded="true"] {
  background: linear-gradient(
    135deg,
    rgba(255, 254, 252, 0.28),
    rgba(226, 234, 234, 0.14)
  );
  box-shadow:
    0 8px 20px rgba(0, 47, 108, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}
.module:nth-child(even) .module-trigger:hover,
.module:nth-child(even) .module-trigger[aria-expanded="true"] {
  background: linear-gradient(
    135deg,
    rgba(255, 254, 252, 0.3),
    rgba(240, 238, 233, 0.15)
  );
}
.module-trigger:focus-visible,
.lesson-list a:focus-visible {
  outline: 3px solid rgba(0, 94, 184, 0.35);
  outline-offset: 3px;
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-family: Bilgie, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}
.module-copy strong {
  display: block;
  font-size: 1.03rem;
}
.chevron {
  transition: transform 0.22s ease;
}
.module-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.lesson-list {
  display: none;
  margin: 8px 0 0;
  padding: 8px;
  background: rgba(255, 254, 252, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r);
  box-shadow: 0 6px 16px rgba(0, 47, 108, 0.045);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.lesson-list.open {
  display: grid;
  gap: 3px;
}
.lesson-list a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px;
  border-radius: 5px;
}
.lesson-list a:hover {
  background: rgba(226, 234, 234, 0.42);
  color: var(--navy);
}
.hero {
  position: relative;
  z-index: 2;
  width: min(43vw, 565px);
  height: 720px;
  min-width: 0;
  justify-self: center;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(168, 144, 114, 0.38);
  border-radius: 46% 46% 45% 45% / 27% 27% 34% 34%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 70px rgba(0, 47, 108, 0.12);
}
.hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center;
  border-radius: inherit;
  box-shadow: none;
}
.signature {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 18px;
  padding: 14px 18px;
  background: rgba(255, 254, 252, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(120%);
  border-radius: var(--glass-r);
  box-shadow: 0 12px 34px rgba(0, 47, 108, 0.1);
}
.signature strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}
.signature span {
  color: var(--muted);
  font-size: 0.9rem;
}
.course-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}
@media (max-width: 1179px) {
  .course-home {
    grid-template-rows: auto auto auto;
  }
  .course-stage {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    height: auto;
    max-width: 980px;
    margin-top: 20px;
  }
  .hero {
    grid-column: 1/-1;
    grid-row: 1;
    width: min(100%, 540px);
    height: min(112vw, 650px);
    justify-self: center;
  }
  .module-column {
    grid-row: 2;
  }
  .module-column.left .module,
  .module-column.right .module {
    width: 100%;
    transform: none;
  }
  .module-trigger {
    height: 94px;
    min-height: 94px;
  }
  .orbit {
    display: none;
  }
}
@media (max-width: 767px) {
  .course-home {
    padding: 24px 18px;
  }
  .course-stage {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .hero {
    order: 0;
    width: min(100%, 540px);
    height: min(112vw, 650px);
  }
  .module-column {
    width: 100%;
    gap: 20px;
  }
  .module-column.left {
    order: 1;
  }
  .module-column.right {
    order: 2;
  }
  .module-trigger {
    height: 112px;
    min-height: 112px;
  }
  .course-heading h1 {
    font-size: clamp(2.4rem, 15vw, 4rem);
  }
}
@media (max-width: 470px) {
  .hero {
    height: 125vw;
    max-height: 570px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Elementos institucionais restaurados da capa original. */
.course-heading h1 {
  margin: 0;
  font-family: Bilgie, Georgia, serif;
  font-weight: 400;
}
.course-name {
  display: block;
  white-space: nowrap;
  color: var(--navy);
  font-size: clamp(2.7rem, 4.2vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0.025em;
}
.course-subtitle {
  display: block;
  margin-top: 7px;
  color: var(--blue);
  font-family: Lato, Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}
.signature {
  left: 50%;
  right: auto;
  bottom: -20px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 94%;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: rgba(255, 254, 252, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(118%);
  box-shadow: 0 8px 30px rgba(0, 47, 108, 0.08);
}
.signature .signature-mark {
  min-width: 72px;
  margin-right: 10px;
  color: var(--taupe);
  font-family: Dellamonde, "Brush Script MT", cursive;
  font-size: 76px;
  font-weight: 400;
  line-height: 0.72;
  transform: rotate(-5deg);
}
.signature .signature-copy {
  display: grid;
  width: max-content;
  max-width: calc(100vw - 150px);
  justify-items: start;
  line-height: 1.05;
}
.signature .signature-copy strong {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--blue);
  font-family: Bilgie, Georgia, serif;
  font-size: clamp(19px, calc(2.25vw - 4px), 28px);
  font-weight: 400;
  line-height: 1;
  text-align: left;
}
.signature .signature-credentials {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  color: var(--ink);
  font:
    400 10px/1 Lato,
    Arial,
    sans-serif;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}
.course-foot {
  font-size: 0.82rem;
  align-self: end;
}
.course-foot p {
  margin: 0;
}
@media (max-width: 767px) {
  .course-name {
    white-space: normal;
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }
  .course-subtitle {
    font-size: clamp(0.96rem, 4.8vw, 1.2rem);
    line-height: 1.2;
    white-space: normal;
  }
  .signature {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin: 18px auto 0;
    padding: 10px 12px;
  }
  .signature .signature-mark {
    min-width: 72px;
    margin-right: 10px;
    font-size: 76px;
  }
  .signature .signature-copy {
    width: max-content;
    max-width: calc(100vw - 130px);
  }
  .signature .signature-copy strong {
    font-size: 19px;
  }
  .signature .signature-credentials {
    width: 100%;
    max-width: 100%;
    font-size: 8px;
    line-height: 1.15;
    white-space: normal;
  }
}
.hero {
  margin: 0;
}
