.hero {
  width: 100%;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
}

.hero-title {
  text-align: center;
  font-size: 3.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.hero-title .highlight {
  color: #ff2222;
  background: linear-gradient(90deg, #d90429 40%, #ff4040 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: #f2bfc0;
  font-size: 1.28rem;
  text-align: center;
  margin-bottom: 38px;
  font-weight: 400;
  letter-spacing: 0.1px;
}
.hero-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.hero-btn-main {
  background: #d90429;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1.11rem;
  padding: 13px 36px;
  border-radius: 13px;
  box-shadow: 0 2px 18px #d9042942;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
}
.hero-btn-main:hover {
  background: #ff4040;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.hero-btn-secondary {
  color: #f2bfc0;
  font-size: 1rem;
  text-decoration: none;
  margin-left: 7px;
  font-weight: 500;
  transition: color 0.17s;
}
.hero-btn-secondary:hover {
  color: #fff;
  text-decoration: underline;
}
.hero-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 12px 2px 9px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: #d90429;
  border-radius: 7px;
  vertical-align: middle;
  box-shadow: 0 2px 9px #d904292a;
  letter-spacing: .5px;
  position: relative;
  top: -1px;
}
@media (max-width: 800px) {
  .hero-title { font-size: 2.12rem; }
  .hero-desc { font-size: 1.01rem; }
  .hero-btn-main { font-size: 1rem; padding: 11px 19px; }
}





.cursos-hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  text-align: center;
  font-size: 2.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -1px;
  margin-top: 8px;
  animation: heroFadeIn 1.1s cubic-bezier(.45,1.55,.45,.95);
  position: relative;
  z-index: 2;
}
.cursos-hero-title .highlight {
  color: #ff2222;
  background: linear-gradient(90deg, #d90429 40%, #ff4040 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.icon-animate {
  display: inline-flex;
  align-items: center;
  font-size: 1.05em;
  color: #d90429;
  animation: gradCapAnim 2.1s cubic-bezier(.66,0,.38,1.15) infinite alternate;
  will-change: transform;
}
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: scale(.96) rotateX(-18deg);
    filter: blur(2.8px);
  }
  70% {
    filter: blur(0);
    transform: scale(1.03) rotateX(1deg);
    opacity: 1;
  }
  100% {
    filter: blur(0);
    transform: scale(1) rotateX(0);
    opacity: 1;
  }
}
@keyframes gradCapAnim {
  0% {
    transform: rotate(-12deg) scale(.93);
    filter: drop-shadow(0 0 0 #d9042988);
  }
  60% {
    transform: rotate(5deg) scale(1.04);
    filter: drop-shadow(0 4px 12px #ff404099);
  }
  100% {
    transform: rotate(-4deg) scale(.98);
    filter: drop-shadow(0 0 0 #ff404033);
  }
}
@media (max-width: 800px) {
  .cursos-hero-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
}
