* {
  box-sizing: border-box;
  margin: 0;
}

:root {
  --amarelo: #f6ca7b;
  --azulEscuro: #002c33;
  --azulMarinho: #005867;
  --azulClaro: #72e4fb;
}

body {
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(
      45deg,
      var(--azulEscuro) 0%,
      var(--azulMarinho) 100%
    )
    no-repeat;
  background-size: 200% 200%;
  animation: background 6s ease infinite;
}

@keyframes background {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

p {
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

/* Cabeçalho */

.header {
  width: 100%;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(
    --azulEscuro
  ); /* Transparente para mostrar o conteúdo do above the fold */
  font-size: 1.2em;
  border-bottom: 1px solid var(--amarelo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1em; /* Espaço entre os links */
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  color: #fff;
  width: 40px; /* largura fixa */
  height: 40px; /* altura fixa */
  align-items: center;
  justify-content: center;
}

.logo {
  width: 6%;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  cursor: pointer;
}

.link-contato {
  color: #fff;
  transition: 0.5s;
}

.link-contato:hover {
  text-decoration: underline;
}

.btn-matricule {
  background-color: green;
  color: #fff;
  border-radius: 5px;
  padding: 0.5em 1em;
  transition: 0.5s;
  font-weight: 500;
  cursor: pointer;
}

.btn-matricule:hover {
  transform: scale(1.05);
}

/* Above the fold */

.above-the-fold {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 3em 3em 3em;
  color: #fff;
  border-bottom: 1px solid var(--amarelo);
}

.logo-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.logo-title img {
  width: 8%;
}

.course-title {
  font-size: 1.5em;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-align: left;
}

.cta {
  font-family: "Poppins", sans-serif;
  font-size: 3em;
  padding: 0.5em 0em 1em 0em;
  display: flex;
  align-items: center;
  color: var(--amarelo);
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
  line-height: 1.2;
}

.cta-info {
  margin-bottom: 3em;
  transition: 1s;
}

.cta-info .cta-title {
  font-size: 1.2em;
}

.cta-title {
  font-weight: 700;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: red;
}

.container-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
}

.cta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

.cta-list li span {
  font-weight: 600;
  text-decoration: underline var(--azulClaro);
}

.btn-vaga {
  background-color: green;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.75em 1.5em;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  transition: 0.5s;
  font-size: 1.5em;
}

.btn-vaga:hover {
  transform: scale(1.05);
}

/* Second Section */

.second-section {
  display: flex;
  justify-content: center;
  padding: 3em;
  background-color: var(--azulEscuro);
  border-bottom: 1px solid var(--amarelo);
}

.second-section .container {
  max-width: 800px;
}

.second-section h2 {
  color: var(--amarelo);
  font-size: 2.5em;
  text-align: justify;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.2em;
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
}

.second-section h3 {
  color: var(--amarelo);
  font-size: 1.6em;
  text-align: justify;
  font-family: "Poppins", sans-serif;
  margin-top: 1em;
  margin-bottom: 0.5em;
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
}

.second-section p {
  color: #fff;
  font-size: 1.2em;
  text-align: justify;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

.second-section p span {
  font-weight: 600;
  text-decoration: underline var(--azulClaro);
}

/* Third Section */

.third-section {
  padding: 3em;
  text-align: center;
}

.third-section-title {
  font-family: "Poppins", sans-serif;
  color: var(--amarelo);
  font-size: 2.5em;
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
  line-height: 1.2;
}

.third-container-desc {
  max-width: 800px;
  margin: 1em auto 2em auto;
}

.third-container-desc p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  text-align: justify;
  color: #fff;
  line-height: 1.6;
}

.third-container-desc p span {
  font-weight: 600;
  text-decoration: underline var(--azulClaro);
}

.modulo-container-title {
  font-family: "Poppins", sans-serif;
  color: var(--amarelo);
  font-size: 2em;
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
  margin-bottom: 1em;
}

.container-modulos {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.modulo {
  border: 2px solid var(--amarelo);
  width: 245px;
  height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  color: #fff;
  background-color: var(--azulEscuro);
  transition: 0.5s;
}

.modulo:hover {
  transform: scale(1.03);
}

.modulo > div {
  display: block;
}

.modulo-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1em;
}

.modulo-title i {
  margin-right: 0.5em;
  font-size: 1.5em;
}

.modulo-title p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5em;
  font-weight: 600;
  text-align: left;
}

.modulo-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  text-align: left;
}

/* Fourth Section */

.fourth-section {
  padding: 3em 3em 4em 3em;
  text-align: center;
}

.prices-title {
  font-family: "Poppins", sans-serif;
  color: var(--amarelo);
  font-size: 3em;
  text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 70%);
  line-height: 1.2;
}

.container-desc {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1em auto 2em auto;
}

.prices-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  max-width: 800px;
  text-align: justify;
  color: #fff;
  line-height: 1.6;
}

.prices-desc span {
  font-weight: 600;
  text-decoration: underline var(--azulClaro);
}

.prices-container {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.price-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5em;
  box-sizing: border-box;
  width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.price-box-title {
  font-family: "Poppins", sans-serif;
  color: var(--azulMarinho);
  margin-bottom: 0.5em;
  font-size: 2em;
  line-height: 1;
}

.price-value {
  background-color: var(--azulMarinho);
  border-radius: 6px;
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  box-sizing: border-box;
  text-align: center;
}

.installments {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.spot-price {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  color: #fff;
  margin: 0;
  margin-top: 0.5em;
  text-decoration: underline red;
}

.price-guarantees {
  width: 100%;
  padding: 0em 0.5em;
  display: flex;
  flex-direction: column;
}

.price-guarantees > div {
  text-align: left; /* Ajuste conforme sua preferência */
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0.5em;
}

.price-guarantees div i {
  font-size: 1.5em;
  margin-right: 0.2em;
}

.btn-comprar {
  background-color: green;
  color: #fff;
  border-color: 2px solid green;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1em;
}

/* Footer */

.footer {
  background-color: var(
    --azulEscuro
  ); /* Exemplo: fundo escuro para contraste */
  color: #fff;
  padding: 2em 1em;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  border-top: 1px var(--amarelo) solid;
}

.footer-logo img {
  width: 150px; /* Ajuste conforme sua logo */
  margin-bottom: 1em;
}

.footer-social {
  margin-bottom: 1em;
}

.footer-social a {
  display: inline-block;
  margin: 0 0.5em;
}

.footer-social a i {
  font-size: 2em;
}

.footer-address {
  margin-bottom: 0.8em;
}

.footer-address a {
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-copyright {
  opacity: 0.8;
}

/* Responsividade */

@media (max-width: 768px) {
  /* General */

  h1 {
    font-size: 2.5em !important;
  }

  h2 {
    font-size: 2em !important;
  }

  h3 {
    font-size: 1.5em !important;
  }

  p {
    font-size: 1em !important;
  }

  /* Header */
  .header {
    padding: 1em;
    font-size: 1em;
  }

  .logo {
    width: 9%;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px; /* Ajuste conforme a altura do header */
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 1em;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;

    /* Propriedades para animação */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links a:not(.btn-matricule) {
    color: black;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex; /* Exibe o botão de menu */
  }

  .menu-toggle.open {
    transform: rotate(180deg); /* Animação no botão quando aberto */
  }

  /* Above The Fold */

  .above-the-fold {
    padding: 2em;
  }

  .logo-title img {
    width: 14%;
  }

  .course-title {
    font-size: 1.2em;
  }

  .cta-info {
    margin-bottom: 2em;
  }

  .container-list {
    font-size: 1em;
  }

  .btn-vaga {
    font-size: 1.2em;
  }

  /* Second Section */

  .second-section {
    padding: 2em;
  }

  .second-section p {
    text-align: left;
  }

  /* Third Section */

  .third-section {
    padding: 2em;
  }

  .third-section-title,
  .third-container-desc p {
    text-align: left;
  }

  .modulo {
    width: 180px;
    height: 180px;
  }

  /* Fourth Section */
  .fourth-section {
    padding: 3em 2em 3em 2em;
  }

  .prices-desc {
    text-align: left;
  }

  .installments {
    font-size: 1.5em !important;
  }

  .price-guarantees > div {
    font-weight: 500;
  }

  .btn-comprar {
    font-size: 1em;
  }

  /* Footer */

  .footer-logo img {
    width: 120px;
  }
}

@media (max-width: 426px) {
  /* General */

  h1 {
    font-size: 2em !important;
  }

  h2 {
    font-size: 1.5em !important;
  }

  h3 {
    font-size: 1em !important;
  }

  /* Header */
  .header {
    padding: 0.5em;
  }

  .logo {
    width: 15%;
  }

  .nav-links {
    font-size: 1em;
  }

  /* Above The Fold */

  .above-the-fold {
    padding: 2em 1.5em;
  }

  .logo-title img {
    display: none;
  }

  .cta {
    padding: 0.2em 0em 0.5em 0em;
  }

  /* Second Section */

  .second-section {
    padding: 2em 1.5em;
  }

  /* Third Section */

  .third-section {
    padding: 2em 1.5em;
  }

  .modulo-container-title {
    font-size: 1.2em !important;
  }

  .modulo {
    width: 156px;
    height: 156px;
    padding: 0.5em;
  }

  /* Fourth Section */

  .fourth-section {
    padding: 0em 1.5em 2em 1.5em;
  }

  .price-box {
    padding: 1em;
  }

  .installments {
    font-size: 1.2em !important;
  }

  .price-guarantees div i {
    font-size: 1.2em;
  }

  /* Footer */

  .footer {
    padding: 1em;
  }

  .footer-logo img {
    width: 100px;
  }

  .footer-social a i {
    font-size: 1.5em;
  }

  .footer-address a {
    font-size: 1em;
  }
}

@media (max-width: 376px) {
  /* General */

  h1 {
    font-size: 1.5em !important;
  }

  h2 {
    font-size: 1.2em !important;
  }

  h3 {
    font-size: 0.8em !important;
  }

  p {
    font-size: 0.8em !important;
  }

  /* Header */

  .logo {
    width: 18%;
  }

  .nav-links {
    font-size: 0.8em;
  }

  /* Above The Fold */

  .above-the-fold {
    padding: 1em;
  }

  .course-title {
    font-size: 1em;
  }

  .cta-info {
    margin-bottom: 1em;
  }

  .container-list {
    font-size: 0.8em;
  }

  .btn-vaga {
    font-size: 1em;
  }

  /* Second Section */

  .second-section {
    padding: 1em;
  }

  /* Third Section */

  .third-section {
    padding: 1em;
  }

  .third-container-desc {
    margin: 1em auto;
  }

  /* Fourth Section */

  .fourth-section {
    padding: 1em 1.5em 2em 1.5em;
  }

  .container-desc {
    margin: 1em auto;
  }
}

@media (max-width: 321px) {
  /* Header */

  .menu-toggle {
    font-size: 1.8em;
  }

  /* Above The Fold */

  .course-title {
    font-size: 0.8em;
  }

  /* Third Section */

  .modulo {
    width: 130px;
    height: 130px;
    padding: 0.4em;
  }
}
