/* Página Conhecer curso: informações, disciplinas e inscrição em uma leitura clara. */
.course-intro { background: linear-gradient(115deg, #103c30 0%, #176749 75%, #207556 100%); color: #fff; padding: 28px 0 0; }
.course-intro .back-course { display: inline-block; color: #d7eade; font-size: 14px; margin-bottom: 32px; }
.course-intro-grid { display: grid; grid-template-columns: 1fr 260px; gap: 60px; align-items: center; }
.course-label { font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; color: #d0e9d9; }
.course-label span { padding: 0 10px; opacity: .5; }
.course-intro h1 { max-width: 850px; font: 700 clamp(30px, 3.2vw, 46px)/1.15 Arial, sans-serif; margin: 17px 0; letter-spacing: -.8px; }
.course-intro-description { max-width: 650px; font-size: 15px; line-height: 1.75; color: #d8e9df; margin: 0; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.course-tags span { padding: 7px 13px; border: 1px solid #ffffff42; border-radius: 5px; color: #f1f7f3; font-size: 14px; }
.course-intro-note { border-left: 1px solid #ffffff30; padding-left: 28px; }
.course-intro-note > span { font-size: 14px; letter-spacing: 1.8px; color: #b9dac6; }
.course-intro-note p { font: 24px/1.4 Georgia, serif; color: #e3f0e8; }
.course-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff26; padding: 22px 0; }
.course-facts > div { display: flex; flex-direction: column; gap: 7px; padding: 0 24px; border-left: 1px solid #ffffff24; }
.course-facts > div:first-child { border: 0; padding-left: 0; }
.course-facts span { font-size: 14px; color: #bbd8c7; }
.course-facts strong { font-size: 15px; font-weight: 600; }
.course-detail-body { background: #f6f8f6; padding: 35px 0 65px; }
.course-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 30px; }
.course-detail-main { background: #fff; border: 1px solid #e0e8e2; border-radius: 12px; overflow: hidden; }
.course-detail-main .course-subnav { gap: 0; justify-content: space-between; padding: 0 24px; background: #fff; border-bottom: 1px solid #dce5df; }
.course-detail-main .course-subnav button, .course-detail-main .course-subnav a { padding: 21px 6px 18px; color: #6a786f; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.course-detail-main .course-subnav .active { color: var(--green); border-bottom-color: var(--green); font-weight: 700; }
.course-panels { padding: 0 32px; }
.course-section { padding: 32px 0; border-bottom: 1px solid #e5ebe7; }
.course-section:last-child { border-bottom: 0; }
.section-kicker { color: var(--green); font-size: 14px; font-weight: 700; letter-spacing: 1.7px; }
.course-section h2 { font: 700 25px/1.3 Arial, sans-serif; letter-spacing: -.4px; margin: 10px 0 18px !important; color: #233c30; }
.course-section p { font-size: 14px; line-height: 1.85; color: #65766b; }
.course-explainer { display: flex; gap: 15px; padding: 18px; background: #f0f6f2; border-radius: 8px; margin-top: 23px; }
.course-explainer > span { color: var(--green); font-size: 30px; }
.course-explainer strong { font-size: 14px; color: #365944; }
.course-explainer p { margin: 5px 0 0; font-size: 14px; line-height: 1.7; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subject-count { font-size: 14px; color: var(--green); background: var(--light); padding: 7px 10px; border-radius: 20px; white-space: nowrap; }
.course-section details { border: 1px solid #e0e8e2; border-radius: 8px; padding: 0; margin: 10px 0; }
.course-section summary { padding: 17px 18px; color: #365544; font-size: 14px; font-weight: 600; }
.course-section details > p { padding: 0 18px 15px; margin: 0; }
.course-section .grade-status { padding: 18px; margin: 0 18px 18px; }
.curriculum-list { padding: 0 18px 10px; margin: 0; list-style: none; }
.curriculum-list li { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid #e9eeeb; font-size: 14px; color: #445d4d; line-height: 1.5; }
.subject-number { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 5px; background: #edf4ef; color: var(--green); font-size: 14px; font-weight: bold; }
.course-help { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #f0f6f2; padding: 18px; border-radius: 8px; margin-top: 22px; }
.course-help strong { font-size: 14px; color: #365944; }
.course-help p { margin: 4px 0 0; font-size: 14px; }
.course-help button { background: none; color: var(--green); font-size: 14px; font-weight: 700; }
.course-enrollment { background: #fff; padding: 27px; border: 1px solid #dce6df; border-top: 4px solid var(--green); border-radius: 12px; box-shadow: 0 8px 25px #103c3008; top: 20px; }
.enrollment-heading h2 { font: 700 21px/1.3 Arial, sans-serif; margin: 11px 0 7px; letter-spacing: -.3px; }
.enrollment-heading p { font-size: 14px; color: #758178; line-height: 1.7; margin: 0 0 23px; }
.course-enrollment label { font-weight: 600; font-size: 14px; margin-bottom: 9px; }
.course-enrollment select { border-radius: 7px; padding: 13px; font-size: 14px; }
.enrollment-price { margin-top: 25px; border-top: 1px solid #e4ebe6; padding-top: 22px; }
.enrollment-price > span { color: #6f7f73; font-size: 14px; }
.enrollment-price p { margin: 9px 0 16px; color: var(--green); }
.enrollment-price strong { font-size: 36px; letter-spacing: -1px; }
.enrollment-price small { font-size: 14px; padding-left: 4px; color: #758379; }
.enrollment-fee { display: flex; justify-content: space-between; font-size: 14px; color: #677b6d; padding-bottom: 20px; border-bottom: 1px solid #e4ebe6; }
.enrollment-fee strong { color: #3a5745; }
.course-enrollment .primary { display: flex; align-items: center; justify-content: space-between; padding: 16px; font-size: 14px; border-radius: 7px; }
.course-enrollment .primary:hover { background: #10563b; }
.course-enrollment .outline { font-size: 14px; padding: 13px; color: var(--green); border-color: #b9cfc0; }
.course-enrollment .enrollment-disclaimer { font-size: 14px; line-height: 1.7; text-align: center; color: #839086; margin: 18px 0; }
.enrollment-bottom { display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid #e4ebe6; font-size: 14px; color: #78887d; }
.enrollment-bottom strong { color: #405c4a; }
@media (max-width: 1000px) {
  .course-detail-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; }
  .course-intro-grid { grid-template-columns: 1fr; gap: 0; }
  .course-intro-note { display: none; }
  .course-panels { padding: 0 23px; }
  .course-detail-main .course-subnav { padding: 0 14px; }
  .course-detail-main .course-subnav button { font-size: 14px; }
}
@media (max-width: 760px) {
  .course-intro { padding-top: 23px; }
  .course-intro h1 { font-size: 32px; }
  .course-facts { gap: 16px; }
  .course-facts > div { padding: 0 0 0 12px; }
  .course-facts strong { font-size: 14px; line-height: 1.5; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .course-enrollment { position: static; grid-row: 1; }
  .course-detail-body { padding-top: 22px; }
  .course-enrollment .primary { justify-content: center; gap: 15px; }
  .course-help { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .course-detail-main .course-subnav { padding: 0 10px; flex-wrap: nowrap; gap: 10px; overflow-x: auto; }
  .course-detail-main .course-subnav button { font-size: 14px; padding-left: 0; padding-right: 0; }
  .course-panels { padding: 0 18px; }
  .course-section h2 { font-size: 23px; }
}

/* Abas agrupadas, sem espaços distribuídos entre os títulos. */
.course-detail-main .course-subnav {
  justify-content: flex-start;
  gap: 10px;
}
.course-detail-main .course-subnav button,
.course-detail-main .course-subnav a {
  flex: 0 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  background: transparent;
}
@media (max-width: 600px) {
  .course-detail-main .course-subnav {
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .course-detail-main .course-subnav button,
  .course-detail-main .course-subnav a {
    padding-left: 10px;
    padding-right: 10px;
  }
}
