@import url("https://fonts.googleapis.com/css2?family=Sora:wght@600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.curso-page {
  margin: 0;
  font-family: "Sora", sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.curso-header {
  width: 100%;
  height: 120px;
  min-height: 120px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.curso-header a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
}

.curso-header img {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: 100%;
}

.curso-banner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 390px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  text-align: center;
  background-color: #5c2328;
  background-image: url("img/banner-cursos.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.curso-banner__titulo {
  position: relative;
  z-index: 1;
  margin: 90px 0 72px;
  color: #ffffff;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.15;
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.curso-banners {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(2.5rem, 6vw, 4rem);
}

.curso-banners__link {
  display: block;
  width: 100%;
  max-width: 755px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease;
  text-decoration: none;
  color: inherit;
}

.curso-banners__link:hover,
.curso-banners__link:focus-visible {
  transform: scale(1.02);
}

.curso-banners__link:focus-visible {
  outline: 3px solid #019c96;
  outline-offset: 4px;
}

.curso-banners__link img {
  display: block;
  width: 100%;
  height: auto;
}

.curso-banners__link:first-of-type {
  position: relative;
  z-index: 2;
  margin-top: -175px;
}

@media screen and (max-width: 900px) {
  .curso-banner__titulo {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
}

@media screen and (max-width: 600px) {
  .curso-banner__titulo {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .curso-banners__link {
    border-radius: 12px;
  }
}
