/* ==========================================================================
   Curso Livre – Redesign (facelift)
   Escopo: .cursolivre-redesign + classes prefixadas com .cl-
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Header – alinhar menu com o container
   -------------------------------------------------------------------------- */
.cursolivre-redesign .header.header_default {
  border-top: none;
}
.cursolivre-redesign .header .nav-items {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.cursolivre-redesign .header .nav-items .user-png {
  padding-right: 0 !important;
}
.cursolivre-redesign .header .nav-items > li {
  margin-left: 0;
}
.cursolivre-redesign .header .nav-items > li:first-child {
  margin-left: 0;
}
.cursolivre-redesign .header .nav-items > li > a {
  white-space: nowrap;
  padding: 10px 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.cursolivre-redesign .header .nav-items > li > a:hover {
  color: #fff !important;
}
.cursolivre-redesign .header .nav-items .btn-header {
  padding-left: 14px;
}
@media (min-width: 1200px) {
  .cursolivre-redesign .header .nav-items {
    justify-content: space-between !important;
  }
  .cursolivre-redesign .header .nav-items > li {
    flex: 0 0 auto !important;
  }
}

/* --------------------------------------------------------------------------
   0.1 Footer (dark)
   -------------------------------------------------------------------------- */
.cursolivre-redesign .footer {
  background: #1D1D1B !important;
  border-top: none !important;
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer .h3,
.cursolivre-redesign .footer h3,
.cursolivre-redesign .footer p.h3 {
  color: #FBDB1B !important;
}
.cursolivre-redesign .footer a {
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer a:hover,
.cursolivre-redesign .footer ul a:hover {
  color: #fff !important;
}
.cursolivre-redesign .footer ul.list-unstyled li {
  color: #fff;
  list-style-type: disc !important;
  list-style: disc !important;
  margin-left: 16px;
}
.cursolivre-redesign .footer .right-footer .right-mobile {
  text-align: left;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.cursolivre-redesign .footer .socials-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  justify-content: flex-start;
}
.cursolivre-redesign .footer .footer-logo {
  content: url('/public/img/site/logo-uniasselvi-amarela.png') !important;
}
.cursolivre-redesign .footer .socials-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #FFDD00;
  border-radius: 50%;
  margin-right: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.cursolivre-redesign .footer .socials-grid a img.socials-footer {
  width: 40px;
  height: 40px;
  filter: invert(1);
  mix-blend-mode: multiply;
}
.cursolivre-redesign .footer .wa-btn {
  background-color: #25D366 !important;
  color: #fff !important;
}
.cursolivre-redesign .footer .wa-btn .whatsapp-ico {
  fill: #fff;
}
.cursolivre-redesign .footer .footer-separator {
  border-color: #363634 !important;
}
.cursolivre-redesign .footer small {
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer .copyright svg path {
  stroke: #C9C9C9;
}
.cursolivre-redesign .footer .border-down-footer {
  border-color: #363634 !important;
}
.cursolivre-redesign .footer p {
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer .wa-div span {
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer .wa-div b {
  color: #fff !important;
}
.cursolivre-redesign .footer .outer-item .collapse,
.cursolivre-redesign .footer .outer-item .collapsing {
  background: transparent !important;
}
.cursolivre-redesign .footer ul a {
  color: #C9C9C9 !important;
}
.cursolivre-redesign .footer ul a:hover {
  color: #fff !important;
}
.cursolivre-redesign .footer .copyright small {
  color: #C9C9C9 !important;
}

/* --------------------------------------------------------------------------
   1. Breadcrumb Bar
   -------------------------------------------------------------------------- */
.cl-breadcrumb-bar {
  width: 100%;
  padding: 12px 0;
  background: var(--Grayscale-Neutral-1, #F4F4F4);
}

.cl-breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cl-breadcrumb-link,
.cl-breadcrumb-sep {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  text-decoration: none;
}

.cl-breadcrumb-link:hover {
  text-decoration: underline;
  color: var(--Grayscale-Neutral-10, #1D1D1B);
}

.cl-breadcrumb-sep {
  margin: 0 2px;
}

.cl-breadcrumb-current {
  color: #000;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

/* --------------------------------------------------------------------------
   2. Gray Hero Section
   -------------------------------------------------------------------------- */
.cl-gray-section {
  width: 100%;
  min-height: 234px;
  padding: 56px 0;
  background: var(--Grayscale-Neutral-1, #F4F4F4);
  position: relative;
  overflow: visible;
}

.cl-gray-inner {
  position: relative;
}

.cl-hero-left {
  flex: 1;
  max-width: 60%;
}

/* --------------------------------------------------------------------------
   2.1 Modality Tag (EAD)
   -------------------------------------------------------------------------- */
.cl-tag-modality {
  display: inline-flex;
  padding: 2px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--Grayscale-Neutral-9, #363634);
  color: var(--Grayscale-Neutral-9, #363634);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

/* --------------------------------------------------------------------------
   2.2 Course Title
   -------------------------------------------------------------------------- */
.cl-course-title {
  margin-top: 22px;
  align-self: stretch;
  color: var(--Grayscale-Neutral-9, #363634);
  font-family: "Titillium Web", sans-serif;
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: 39.6px;
  letter-spacing: -0.51px;
}

/* --------------------------------------------------------------------------
   2.3 Course Type Label ("Curso Livre")
   -------------------------------------------------------------------------- */
.cl-course-type {
  margin-top: 20px;
  color: var(--Grayscale-Neutral-9, #363634);
  font-family: "Neo Sans Std", "Titillium Web", sans-serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  line-height: 19.55px;
  letter-spacing: -0.51px;
}

/* --------------------------------------------------------------------------
   3. Enrollment Card (floating – desktop)
   -------------------------------------------------------------------------- */
.cl-card-wrapper {
  position: absolute;
  right: 15px;
  top: -56px;
  width: 439px;
  z-index: 10;
}

.cl-enrollment-card {
  display: flex;
  width: 100%;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  gap: 0;
  border-radius: var(--Radius-Large, 24px);
  border: 1.5px solid var(--Grayscale-Neutral-3, #C9C9C9);
  background: var(--neutral-colors-neutral-color-white, #FFF);
  box-sizing: border-box;
}

/* Card meta: "Cursos Livres - EAD" */
.cl-card-meta {
  align-self: stretch;
  color: var(--neutral-colors-neutral-color-grey-600, #4B5251);
  font-family: var(--Font-Family-Body, Roboto), sans-serif;
  font-size: var(--Font-Font-size-xxxs, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  margin-bottom: 4px;
}

/* Card course name */
.cl-card-course-name {
  align-self: stretch;
  color: var(--neutral-colors-neutral-color-black, #000);
  font-family: var(--Font-Family-Title, "Titillium Web"), sans-serif;
  font-size: var(--Font-Font-size-sm, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  margin: 0 0 4px;
}

/* Card hours */
.cl-card-hours {
  align-self: stretch;
  color: var(--neutral-colors-neutral-color-grey-600, #4B5251);
  font-family: var(--Font-Family-Body, Roboto), sans-serif;
  font-size: var(--Font-Font-size-xxxs, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   3.1 Price Box
   -------------------------------------------------------------------------- */
.cl-card-price-box {
  display: flex;
  padding: 12px var(--Spacing-XXS, 12px);
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
  align-self: stretch;
  border-radius: var(--Radius-Small, 12px);
  background: var(--brand-colors-secondary-brand-color-secondary-100, #E9F3F2);
}

.cl-price-symbol {
  color: var(--neutral-colors-neutral-color-black, #000);
  font-family: var(--Font-Family-Title, "Titillium Web"), sans-serif;
  font-size: var(--Font-Font-size-xxs, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: 115%;
}

.cl-price-value {
  color: var(--neutral-colors-neutral-color-black, #000);
  font-family: var(--Font-Family-Title, "Titillium Web"), sans-serif;
  font-size: var(--Font-Font-size-lg, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
}

.cl-price-period {
  color: var(--neutral-colors-neutral-color-black, #000);
  font-family: var(--Font-Family-Title, "Titillium Web"), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 115%;
}

/* --------------------------------------------------------------------------
   3.2 Subscribe Button
   -------------------------------------------------------------------------- */
.cl-enrollment-card form {
  width: 100%;
  margin: 24px 0 0;
}

.cl-enrollment-card form .cl-btn-subscribe {
  margin: 0;
}

.cl-btn-subscribe {
  display: flex;
  width: 100%;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  border-radius: var(--Small---S, 4px);
  background: var(--Brand-Primary, #FBDB1B);
  border: none;
  cursor: pointer;
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.cl-btn-subscribe:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   4. Sobre o Curso
   -------------------------------------------------------------------------- */
.cl-about-section {
  background: #fff;
  padding: 60px 0 40px;
}

.cl-about-title {
  color: #1D1D1B;
  font-family: "Titillium Web", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  margin: 0 0 24px;
}

.cl-sobre-curso-text {
  position: relative;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.cl-sobre-curso-text p {
  color: #1D1D1B;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
}

.cl-sobre-curso-text .cl-sobre-hidden {
  display: none;
}

.cl-sobre-curso-text.truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, #fff);
}

.cl-btn-continuar-lendo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  color: #1D1D1B;
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}

.cl-btn-continuar-lendo:hover {
  color: #00A59A;
}

.cl-btn-continuar-lendo .arrow-icon {
  display: inline-block;
  transition: transform 0.3s;
}

.cl-duracao-box {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 59px;
  margin-bottom: 40px;
  border: 1px solid #C9C9C9;
  background: #FFF;
}

.cl-duracao-box .title {
  background: #333;
  color: white;
  padding: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cl-duracao-box .content {
  background: white;
  padding: 12px 16px;
}

.cl-duracao-box .item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
}

.cl-duracao-box svg {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Benefits List
   -------------------------------------------------------------------------- */
.cl-benefits-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cl-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cl-benefits-list li svg {
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

.cl-benefits-list li span {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* --------------------------------------------------------------------------
   6. Mercado de Trabalho
   -------------------------------------------------------------------------- */
.cl-market-section {
  margin-top: 40px;
  padding: 64px 0;
  background: var(--Grayscale-Neutral-1, #F4F4F4);
}

.cl-market-title {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin: 0 0 24px;
}

.cl-market-text {
  max-width: 589px;
}

.cl-market-text p {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin: 0;
}

.cl-market-cta {
  margin-top: 64px;
  max-width: 589px;
}

.cl-market-cta p {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin: 0;
}

.cl-market-cta p strong {
  font-weight: 700;
}

.cl-market-legal {
  margin-top: 64px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cl-market-legal svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cl-market-legal span {
  color: var(--Grayscale-Neutral-10, #1D1D1B);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* --------------------------------------------------------------------------
   7. Mobile Card
   -------------------------------------------------------------------------- */
.cl-mobile-card {
  padding: 16px;
}

.cl-mobile-card .cl-enrollment-card {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .cl-gray-section {
    padding: 40px 0;
  }

  .cl-hero-left {
    max-width: 55%;
  }

  .cl-card-wrapper {
    top: -40px;
    width: 360px;
  }

  .cl-course-title {
    font-size: 30px;
    line-height: 34px;
  }

  .cl-course-type {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .cl-gray-section {
    padding: 30px 0;
    min-height: auto;
  }

  .cl-hero-left {
    max-width: 100%;
  }

  .cl-course-title {
    font-size: 26px;
    line-height: 30px;
    margin-top: 16px;
  }

  .cl-course-type {
    font-size: 18px;
    margin-top: 14px;
  }

  .cl-about-section {
    padding: 40px 0 30px;
  }

  .cl-about-title {
    font-size: 26px;
  }

  .cl-duracao-box {
    max-width: unset;
    margin-top: 25px;
  }

  .cl-market-section {
    padding: 40px 0;
    margin-top: 30px;
  }

  .cl-market-title {
    font-size: 26px;
  }

  .cl-market-text,
  .cl-market-cta {
    max-width: 100%;
  }

  .cl-market-cta {
    margin-top: 40px;
  }

  .cl-market-cta p {
    font-size: 20px;
  }

  .cl-market-legal {
    margin-top: 40px;
  }

  .cursolivre-redesign .header .nav-items > li {
    margin-left: 0;
  }
}
