/* =========================================================
   Home — QBizu
   ========================================================= */

.page-home #wrapper {
  background: #f5f5f5;
}

/* --- Slide --- */
.page-home .SlideContainer {
  position: relative;
  overflow: hidden;
}

.page-home .Slide {
  display: none;
  min-height: 520px;
  background-size: cover !important;
  background-position: center center !important;
  position: relative;
}

.page-home .Slide.active {
  display: block;
  animation: homeSlideIn 0.55s ease both;
}

@keyframes homeSlideIn {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.page-home .Slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 27, 26, 0.78) 0%, rgba(26, 27, 26, 0.45) 55%, rgba(26, 27, 26, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-home .Slide .container {
  position: relative;
  z-index: 2;
}

.page-home .Slide .main-banner-box {
  padding: 110px 0 120px;
}

.page-home .Slide .main-banner-box .title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff !important;
  font-family: var(--font_family_heading);
  text-shadow: none;
}

.page-home .Slide .main-banner-box .description {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82) !important;
}

.page-home .Slide .shape-list {
  display: none;
}

.page-home .home-slide-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.page-home .control_prev,
.page-home .control_next {
  pointer-events: auto;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #222322 !important;
  font-size: 16px !important;
  box-shadow: 0 8px 24px rgba(34, 35, 34, 0.18);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none !important;
}

.page-home .control_prev:hover,
.page-home .control_next:hover {
  background: #f8ae2e !important;
  color: #222322 !important;
  transform: translateY(-2px);
}

/* --- Shared section helpers --- */
.home-section {
  padding: 64px 0;
}

.home-section--tight {
  padding-top: 40px;
}

.home-section--dark {
  background: #222322;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(248, 174, 46, 0.22), transparent 55%);
  pointer-events: none;
}

.home-section--muted {
  background: #f5f5f5;
}

.home-section--white {
  background: #fff;
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.home-head__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(248, 174, 46, 0.16);
  color: #8a5f00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-section--dark .home-head__eyebrow {
  background: rgba(248, 174, 46, 0.22);
  color: #f8ae2e;
}

.home-head__title {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #222322;
  font-family: var(--font_family_heading);
}

.home-section--dark .home-head__title {
  color: #fff;
}

.home-head__text {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
  color: #6b6b6b;
}

.home-section--dark .home-head__text {
  color: rgba(255, 255, 255, 0.7);
}

.home-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #222322 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease, color 0.2s ease;
}

.home-head__link:hover {
  color: #f8ae2e !important;
  gap: 12px;
}

.home-section--dark .home-head__link {
  color: #fff !important;
}

.home-section--dark .home-head__link:hover {
  color: #f8ae2e !important;
}

.home-more {
  margin-top: 12px;
  text-align: center;
}

.home-more .aulas-btn-filter {
  width: auto;
  min-width: 200px;
  padding: 0 28px;
  display: inline-flex;
}

/* --- Pillars --- */
.home-pillars {
  margin-top: -42px;
  position: relative;
  z-index: 3;
  padding-bottom: 20px;
}

.home-pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 20px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(34, 35, 34, 0.06);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(34, 35, 34, 0.1);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(34, 35, 34, 0.14);
  border-color: rgba(248, 174, 46, 0.4);
}

.home-pillar__media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #222322;
}

.home-pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.78;
  transition: transform 0.35s ease;
}

.home-pillar:hover .home-pillar__media img {
  transform: scale(1.05);
}

.home-pillar__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -40px 0 14px;
  border-radius: 12px;
  background: #f8ae2e;
  color: #222322;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(248, 174, 46, 0.35);
  position: relative;
  z-index: 1;
}

.home-pillar__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #222322;
  font-family: var(--font_family_heading);
}

.home-pillar__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #6b6b6b;
  flex: 1;
}

.home-pillar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #222322;
  transition: gap 0.2s ease, color 0.2s ease;
}

.home-pillar:hover .home-pillar__cta {
  gap: 12px;
  color: #f8ae2e;
}

/* --- How it works --- */
.home-how__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: howStep;
}

.home-how__steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(34, 35, 34, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(34, 35, 34, 0.04);
  counter-increment: howStep;
}

.home-how__num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(248, 174, 46, 0.16);
  color: #222322;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font_family_heading);
}

.home-how__num::before {
  content: counter(howStep);
}

.home-how__copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #222322;
  font-family: var(--font_family_heading);
}

.home-how__copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #6b6b6b;
}

.home-how__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #222322;
  border: 1px solid rgba(34, 35, 34, 0.06);
  box-shadow: 0 16px 40px rgba(34, 35, 34, 0.12);
  min-height: 360px;
}

.home-how__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.home-how__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8ae2e;
  color: #222322 !important;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(248, 174, 46, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none !important;
}

.home-how__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}

/* --- About / proof --- */
.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.home-about__media {
  border-radius: 20px;
  overflow: hidden;
  background: #222322;
  border: 1px solid rgba(34, 35, 34, 0.06);
  box-shadow: 0 16px 40px rgba(34, 35, 34, 0.1);
}

.home-about__media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.home-about__stat {
  padding: 16px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px solid rgba(34, 35, 34, 0.05);
}

.home-about__stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #222322;
  font-family: var(--font_family_heading);
  margin-bottom: 2px;
}

.home-about__stat span {
  font-size: 12px;
  font-weight: 600;
  color: #6b6b6b;
}

.home-about__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #222322;
}

.home-about__list i {
  margin-top: 3px;
  color: #03b265;
  font-size: 12px;
}

/* --- Editais home --- */
.home-edital {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none !important;
  color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-edital:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 174, 46, 0.45);
  transform: translateY(-2px);
}

.home-edital__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(248, 174, 46, 0.18);
  color: #f8ae2e;
  font-size: 18px;
}

.home-edital__copy {
  min-width: 0;
  flex: 1;
}

.home-edital__inst {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8ae2e;
}

.home-edital__title {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.home-edital__meta {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Blog grid home --- */
.home-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid rgba(34, 35, 34, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(34, 35, 34, 0.05);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(34, 35, 34, 0.1);
  border-color: rgba(248, 174, 46, 0.4);
}

.home-blog-card__media {
  height: 170px;
  background: #222322;
  overflow: hidden;
  position: relative;
}

.home-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-card__media img {
  transform: scale(1.04);
}

.home-blog-card__media.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 80% at 70% 20%, rgba(248, 174, 46, 0.22), transparent 55%),
    linear-gradient(135deg, #222322 0%, #2f302f 100%);
  color: #f8ae2e;
  font-size: 28px;
}

.home-blog-card__body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-blog-card__cat {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8ae2e;
}

.home-blog-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #222322;
  font-family: var(--font_family_heading);
}

.home-blog-card__excerpt {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #6b6b6b;
  flex: 1;
}

.home-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #6b6b6b;
}

.home-blog-card__meta i {
  color: #f8ae2e;
  margin-right: 4px;
}

/* --- CTA auth --- */
.home-cta {
  padding: 20px 0 72px;
  background: #f5f5f5;
}

.home-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 24px;
  background: #222322;
  background-image: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(248, 174, 46, 0.28), transparent 55%);
  box-shadow: 0 20px 48px rgba(34, 35, 34, 0.18);
}

.home-cta__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  font-family: var(--font_family_heading);
}

.home-cta__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.home-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font_family_heading);
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-cta__btn--primary {
  background: #f8ae2e;
  color: #222322 !important;
}

.home-cta__btn--primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.home-cta__btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.home-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #f8ae2e;
  color: #f8ae2e !important;
  transform: translateY(-2px);
}

/* Reuse course cards spacing on home */
.page-home .aulas-card-link {
  margin-bottom: 24px;
}

.page-home .aulas-card.course-box.style-1 {
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(34, 35, 34, 0.06);
  box-shadow: 0 4px 16px rgba(34, 35, 34, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .aulas-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(34, 35, 34, 0.12);
  border-color: rgba(248, 174, 46, 0.35);
}

.page-home .aulas-card .figure-box {
  position: relative;
  overflow: hidden;
  margin: 0;
  line-height: 0;
}

.page-home .aulas-card .figure-box img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.page-home .aulas-card:hover .figure-box img {
  transform: scale(1.04);
}

.page-home .aulas-card .aulas-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 35, 34, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.page-home .aulas-card__badge.is-fisico {
  background: #f8ae2e;
  color: #222322;
}

.page-home .aulas-card .content-box {
  padding: 16px 16px 18px;
}

.page-home .aulas-card .category-name {
  color: #f8ae2e !important;
  font-weight: 600;
  font-size: 12px;
}

.page-home .aulas-card .title {
  font-size: 16px !important;
  line-height: 1.35 !important;
  min-height: 0;
  margin-bottom: 6px;
  color: #222322;
}

.page-home .aulas-card .sub-title {
  font-size: 13px !important;
  color: #6b6b6b !important;
  margin-bottom: 8px;
}

.page-home .aulas-card .course-fee {
  font-weight: 700;
  color: #222322;
}

.page-home .course-fee.is-free {
  color: #03b265;
}

.page-home .aulas-card .course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .home-about {
    grid-template-columns: 1fr;
  }

  .home-cta__box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-cta__actions {
    justify-content: center;
  }

  .home-cta__copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .page-home .Slide {
    min-height: 420px;
  }

  .page-home .Slide .main-banner-box {
    padding: 72px 0 90px;
  }

  .home-pillars {
    margin-top: -28px;
  }

  .home-section {
    padding: 48px 0;
  }

  .home-how__media,
  .home-how__media img {
    min-height: 240px;
  }

  .home-cta__box {
    padding: 28px 20px;
  }

  .home-cta__btn {
    width: 100%;
  }

  .home-about__stats {
    grid-template-columns: 1fr;
  }
}
