.header-banner {
  --banner-height: 480px;
  width: 100%;
  height: auto;
  min-height: var(--banner-height);
  position: relative;
  margin-top: 80px;
  overflow: hidden;
}

.header-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--banner-height);
  background: var(--gradient-overlay);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991px) {
  .header-banner {
    --banner-height: 500px;
    margin-top: 70px;
    min-height: var(--banner-height);
  }
}

@media (max-width: 767px) {
  .header-banner {
    --banner-height: clamp(300px, 62vw, 420px);
  }

  .header-banner {
    height: auto;
    min-height: 0;
    margin-top: 70px;
  }

  .swiper-header-banner {
    height: var(--banner-height);
  }
}

.swiper-header-banner {
  width: 100%;
  height: var(--banner-height);
  position: relative;
  z-index: 1;
}

.swiper-header-banner .swiper-pagination--banner .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 1;
}

.swiper-header-banner
  .swiper-pagination--banner
  .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.swiper-header-banner .swiper-slide {
  height: 100%;
  width: 100%;
}

.swiper-header-banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* remove gap/linha inferior comum em imagens inline */
}

.header-banner .content-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 999;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

@media (max-width: 991px) {
  .header-banner .content-container {
    top: 46%;
  }
}

@media (max-width: 767px) {
  .header-banner .content-container {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    top: 0;
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.header-banner .content-block {
  height: 100%;
  max-height: 380px;
  min-height: 380px;
  max-width: 450px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  flex-direction: column;
  justify-content: space-around;
  padding: 20px 40px;
  display: flex;
}

@media (max-width: 767px) {
  .header-banner .content-block {
    max-width: 100%;
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 1.5rem;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .header-banner .content-block {
    min-height: 340px;
    max-height: 340px;
    max-width: 420px;
    padding: 1.25rem 1.75rem;
  }
}

.header-banner .content-block .title {
  font-weight: 700;
  font-size: 1.7rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

.header-banner .content-block .description {
  font-weight: 700;
  font-size: 2.1rem;
  text-transform: uppercase;
  color: var(--tertiary-color);
  line-height: 1;
  margin: 10px 0;
}

/* ================================================
   HERO PÁGINAS (sobre, contato, workshop)
   ================================================ */

.hero-courses {
  position: relative;
  height: auto;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
  padding: var(--spacing-lg) 0;
}

.hero-courses .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-courses .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-courses .hero-content {
  position: relative;
  text-align: center;
  color: var(--primary-white);
  max-width: 800px;
  z-index: 2;
}

.hero-courses .hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-courses .hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-courses .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
}

.hero-courses .btn-primary {
  background: var(--primary-white);
  color: var(--primary-brown);
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
  text-decoration: none;
}

.hero-courses .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.hero-courses .btn-secondary {
  background: transparent;
  color: var(--primary-white);
  border: 2px solid var(--primary-white);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.hero-courses .btn-secondary:hover {
  background: var(--primary-white);
  color: var(--primary-brown);
}

@media (max-width: 991px) {
  .hero-courses {
    margin-top: 70px;
  }
}

@media (max-width: 767px) {
  .hero-courses {
    height: auto;
    min-height: 280px;
    padding: var(--spacing-md) 0;
  }
  .hero-courses .hero-buttons {
    flex-direction: column;
  }
  .hero-courses .btn-primary,
  .hero-courses .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.header-banner .content-block .text {
  font-weight: 400;
  font-size: 1rem;
  color: #212121;
  width: 100%;
  text-align: left;
  line-height: 1.4;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header-banner .content-block .text p {
  text-align: justify;
}

.header-banner .content-block .more {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
  border-radius: 4px;
}

.header-banner .social {
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 30px;
  position: absolute;
  bottom: 2rem;
  right: 1.25rem;
  left: auto;
  z-index: 999;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 4px;
}

@media (max-width: 890px) {
  .header-banner .social {
    display: none;
  }
}

.header-banner .social a i {
  font-size: 1.9rem;
  color: #fff;
}

.header-banner.header-banner-image {
  width: 100%;
  height: 360px;
  margin-top: 80px;
}

.header-banner-image .content {
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-items: center;
}

.header-banner-image .content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .header-banner.header-banner-image {
    height: 300px;
    margin-top: 70px;
  }

  .header-banner-image .content {
    height: 300px;
  }
}
