:root {
  --purple: #7C56D8;
  --purple-dark: #7C56D8;
  --sky: #edf6ff;
  --text: #111111;
  --whatsapp: #52d869;
  --border: #d8d8d8;
}

@font-face {
  font-family: 'googleBold';
  src: url('../fonts/GoogleSans-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

.hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--sky);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 44px;
  padding-bottom: 58px;
}

.hero__title {
  color: var(--purple);
  font-size: 2.5em;
  font-family: 'googleBold';
}

.hero__logo {
  width: min(190px, 44vw);
  max-height: 170px;
  object-fit: contain;
}

.cloud {
  position: absolute;
  bottom: -22px;
  width: 250px;
  height: 70px;
  border-radius: 80px 80px 0 0;
  background: #fff;
  z-index: 1;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #fff;
}

.cloud::before {
  width: 92px;
  height: 92px;
  left: 38px;
}

.cloud::after {
  width: 116px;
  height: 116px;
  right: 36px;
}

.cloud--left {
  left: 12%;
}

.cloud--right {
  right: 13%;
  width: 310px;
}

.contact-section {
  padding: clamp(39px, 8vw, 39px) 0 39px;
}

.section-title {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.contact-form .form-label {
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 0.98rem;
  font-weight: 500;
}

.contact-form .form-control {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: none;
}

.contact-form .form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 0.2rem rgba(125, 81, 219, 0.12);
}

.btn-submit {
  min-width: 142px;
  padding: 11px 24px;
  border-color: var(--purple);
  border-radius: 5px;
  background: var(--purple);
  font-weight: 700;
}

.btn-submit:hover,
.btn-submit:focus {
  border-color: var(--purple-dark);
  background: var(--purple-dark);
}

.embedded-form-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.levels-card {
  overflow: hidden;
  border-radius: 35px;
}

.levels-card img {
  display: block;
  aspect-ratio: 1.14 / 1;
  object-fit: cover;
}

.site-footer {
  padding: 20px 0 58px;
}

.social-link {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 1.5rem;
}

.social-link:hover {
  color: #fff;
  background: var(--purple-dark);
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto;
  width: fit-content;
  font-family: 'googleBold';
}

.contact-line--phone {
  gap: 8px;
  color: #111;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.contact-line--phone i {
  color: var(--whatsapp);
  font-size: 1.55em;
}

.contact-line--email {
  color: var(--purple);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.sep-line {
  margin-top: 9px;
  font-size: clamp(0.93rem, 1.35vw, 1.15rem);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 390px;
  }

  .hero__content {
    padding-top: 26px;
    padding-bottom: 86px;
  }

  .hero__logo {
    width: 150px;
  }
  
  .hero__title {
    font-size: 1.8em;
  }

  .cloud--left {
    left: -60px;
  }

  .cloud--right {
    right: -75px;
  }

  .contact-section {
    padding-top: 60px;
  }

  .levels-card {
    max-width: 700px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 360px;
  }

  .hero__title {
    font-size: 1.8em;
  }

  .cloud {
    bottom: -35px;
    transform: scale(0.82);
  }

  .contact-section {
    padding: 54px 0 52px;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .btn-submit {
    min-width: 48%;
  }

  .levels-card {
    border-radius: 28px;
  }

  .levels-card img {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .site-footer {
    padding-bottom: 38px;
  }
}

/* =========================================
  Página 404
   ========================================= */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.error-page__main {
  flex: 1;
  display: flex;
}

.error-hero {
  flex: 1;
  width: 100%;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: var(--sky);
}

.error-hero__content {
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 115px;
}

.error-page__logo {
  width: min(180px, 42vw);
  max-height: 155px;
  object-fit: contain;
}

.error-page__number {
  color: var(--purple);
  font-size: clamp(6.5rem, 19vw, 12.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-shadow: 0 10px 0 rgba(125, 81, 219, 0.1);
}

.error-page__title {
  margin-top: 26px;
  color: var(--purple);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.error-page__text {
  max-width: 590px;
  margin-top: 18px;
  margin-bottom: 30px;
  color: #333;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.error-page__button {
  min-width: 190px;
  padding: 13px 28px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(125, 81, 219, 0.2);
}

.error-page__button:hover,
.error-page__button:focus {
  border-color: var(--purple-dark);
  color: #fff;
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.error-cloud {
  position: absolute;
  bottom: -32px;
  width: 330px;
  height: 100px;
  border-radius: 100px 100px 0 0;
  background: #fff;
  z-index: 1;
}

.error-cloud::before,
.error-cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  background: #fff;
}

.error-cloud::before {
  left: 42px;
  width: 120px;
  height: 120px;
}

.error-cloud::after {
  right: 42px;
  width: 155px;
  height: 155px;
}

.error-cloud--left {
  left: -40px;
}

.error-cloud--right {
  right: -40px;
}

.error-star {
  position: absolute;
  z-index: 1;
  color: #f4d73f;
  line-height: 1;
  opacity: 0.9;
}

.error-star--one {
  top: 18%;
  left: 15%;
  font-size: 2.2rem;
  transform: rotate(-14deg);
}

.error-star--two {
  top: 28%;
  right: 16%;
  font-size: 1.55rem;
  transform: rotate(18deg);
}

.error-star--three {
  bottom: 27%;
  right: 24%;
  font-size: 2.6rem;
  transform: rotate(-8deg);
}

.error-page__footer {
  padding: 26px 0;
  background: #fff;
}

.error-page__footer a {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .error-hero {
    min-height: 620px;
  }

  .error-hero__content {
    padding-top: 45px;
    padding-bottom: 100px;
  }

  .error-page__title {
    margin-top: 22px;
  }

  .error-cloud {
    transform: scale(0.78);
  }

  .error-cloud--left {
    left: -105px;
  }

  .error-cloud--right {
    right: -105px;
  }

  .error-star--one {
    left: 8%;
  }

  .error-star--two {
    right: 8%;
  }

  .error-star--three {
    right: 12%;
    bottom: 22%;
  }
}

@media (max-width: 575.98px) {
  .error-hero {
    min-height: 590px;
  }

  .error-page__number {
    font-size: clamp(6.5rem, 34vw, 9rem);
  }

  .error-page__text {
    line-height: 1.55;
  }

  .error-page__button {
    width: min(100%, 270px);
  }

  .error-star--three {
    display: none;
  }
}