@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Yeseva+One&display=swap');

:root {
  --color-primary: #daa520;
  --button-bg-gradient: linear-gradient(
    to right,
    #643000 0%,
    #daa520 25%,
    #643000 50%,
    #daa520 75%,
    #643000 100%
  );
  --body-bg-gradient: linear-gradient(
    242deg,
    #263256 0%,
    #263256 34%,
    #000000 94%
  );
  --color-body: #ffffff;
  --transition: 0.3s;
  --ff-primary: 'Montserrat', sans-serif;
  --ff-secondary: 'Yeseva One', sans-serif;
  --fs-regular: 20px;
  --fs-lg: 28px;
  --fs-2lg: 32px;
  --fs-xl: 48px;
  --fs-2xl: 58px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-extrabold: 800;
}

@media (max-width: 1600px) {
  :root {
    --fs-regular: 16px;
    --fs-lg: 24px;
    --fs-2lg: 28px;
    --fs-xl: 44px;
    --fs-2xl: 56px;
  }
}

@media (max-width: 1024px) {
  :root {
    --fs-regular: 16px;
    --fs-lg: 20px;
    --fs-2lg: 24px;
    --fs-xl: 40px;
    --fs-2xl: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-regular: 14px;
    --fs-lg: 18px;
    --fs-2lg: 22px;
    --fs-xl: 36px;
    --fs-2xl: 48px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;

  font-size: var(--fs-regular);
  color: var(--color-body);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  line-height: var(--line-height-b1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;

  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.bg-gradient {
  background: var(--body-bg-gradient);
  z-index: -10;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2 {
  font-family: var(--ff-secondary);
  font-weight: var(--fw-regular);
}

h3,
h4,
h5,
h6 {
  font-family: var(--ff-primary);
  font-weight: var(--fw-semibold);
}

h1 {
  font-size: var(--fs-2xl);
}

h2 {
  font-size: var(--fs-xl);
}

.color-primary {
  color: var(--color-primary);
}

a,
button {
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  border-radius: 15px;
  color: var(--color-body);
  line-height: auto;

  transition: all 0.4s;
}

a:hover,
button:hover {
  transform: scale(1.05);

  color: var(--color-primary);
  background: var(--color-body);
}

.btn-gradient {
  background: var(--button-bg-gradient);
}

.btn-drop-shadow {
  box-shadow: 0 0 46.7px #fdd777;
}

.text-center {
  text-align: center;
}

section {
  padding: 0 20px;
}

.text-medium {
  font-weight: var(--fw-medium);
}

section#main {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;

  padding-top: 76px;
  padding-bottom: 68px;

  background-image: url('https://inteligenciaemocional.alinelourenco.com.br/assets/images/main-photo.png');
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
}

.main-content {
  width: 100%;
  max-width: 1600px;
}

.main-heading {
  max-width: 50%;
  margin-bottom: 30px;
}

.main-secondary-heading {
  max-width: 40%;
  margin-bottom: 30px;
  font-size: var(--fs-lg);
  font-weight: var(--fs-regular);
}

.main-text {
  max-width: 35%;
  margin-bottom: 46px;
}

.main-date {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-date-text {
  font-size: var(--fs-lg);
}

.main-date-text h3 {
  font-weight: var(--fw-extrabold);
}

.main-button {
  max-width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--fs-2lg);
  font-family: var(--ff-primary);
  padding: 22px 14px;
  font-weight: var(--fw-extrabold);
}

.main-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

@media (max-width: 1340px) {
  section#main {
    background-position: 25% center;
  }

  .main-heading {
    max-width: 60%;
  }

  .main-secondary-heading {
    max-width: 50%;
  }

  .main-text {
    max-width: 40%;
  }

  .main-text img {
    width: 64px;
    height: auto;
  }

  .main-button {
    max-width: 40%;
  }
}

@media (max-width: 1024px) {
  .main-heading {
    max-width: 70%;
  }

  .main-secondary-heading {
    max-width: 60%;
  }

  .main-text {
    max-width: 50%;
  }

  .main-text img {
    width: 48px;
    height: auto;
  }

  .main-button {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  section#main {
    background-position: 60% 0;
  }

  .main-heading {
    max-width: 80%;
  }

  .main-secondary-heading {
    max-width: 70%;
  }

  .main-text {
    max-width: 60%;
  }

  .main-button {
    max-width: 50%;
  }
}

@media (max-width: 580px) {
  section#main {
    background-image: url('https://inteligenciaemocional.alinelourenco.com.br/assets/images/main-photo.png');
    background-position: 70% 0;
    padding-top: 66px;
  }

  /* section#main {
    background-image: url('https://inteligenciaemocional.alinelourenco.com.br/assets/images/main-photo-sm.jpg');
    padding-top: 66px;
  } */

  .main-text {
    max-width: 70%;
  }
}

@media (max-width: 480px) {
  .main-heading,
  .main-secondary-heading,
  .main-button {
    max-width: 100%;
  }
}

section#banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;

  border-bottom: 1px solid #ffffff;
}

section#banner h2 {
  max-width: 1026px;
}

section#about {
  width: 100%;
  display: flex;
  justify-content: center;

  overflow: hidden;
}

.about-content {
  max-width: 1600px;
  display: flex;
  align-items: center;
}

.about-description {
  max-width: 50%;
  padding: 40px 0;
  z-index: 20;
}

.about-description h3 {
  margin-bottom: 20px;
}

.about-photo-container {
  position: relative;
  height: 100%;
  margin-left: 116px;
}

.challenge-title {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #daa520 100%);
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: 8px;
}

.challenges-photo {
  position: relative;
  height: 100%;
  width: auto;
  z-index: 20;
}

.light-effect {
  position: absolute;
  width: auto;
  height: 86%;
  bottom: 0;
  right: -10%;
  z-index: 10;
}

@media (max-width: 1180px) {
  .about-content {
    flex-direction: column;
  }

  .about-description {
    order: 2;
    max-width: 80%;
  }

  .about-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 480px;
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
  }

  .challenges-photo {
    max-height: 560px;
    width: auto;
  }
}

@media (max-width: 520px) {
  .about-description {
    max-width: 100%;
  }

  .about-photo-container {
    max-width: 480px;
  }
}

section#now {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  gap: 20px;

  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

section#now img {
  height: auto;
}

.now-button {
  font-size: var(--fs-xl);
  font-family: var(--ff-secondary);
  padding: 14px 34px;
  font-weight: var(--fw-regular);
}

@media (max-width: 1360px) {
  .now-button {
    font-size: var(--fs-2lg);
  }
}

@media (max-width: 1090px) {
  section#now {
    padding: 20px 0;
  }

  section#now img {
    width: 166px;
  }
}

@media (max-width: 768px) {
  section#now img {
    width: 116px;
  }
}

@media (max-width: 480px) {
  section#now img {
    display: none;
  }
}

section#class {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 120px;
  padding-bottom: 144px;
}

.class-heading {
  margin-bottom: 120px;
}

.class-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 36px;
}

.class-content-card {
  position: relative;
  max-width: 394px;
  padding: 30px 30px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;

  border: 5px solid var(--color-primary);
  border-radius: 20px;
}

.class-content-card img {
  width: auto;
  height: 116px;
}

.card-line {
  width: 60%;
  height: 5px;
  background: var(--button-bg-gradient);
}

@media (max-width: 1660px) {
  .class-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .class-content-card {
    border: 3px solid var(--color-primary);
  }

  .class-content-card img {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .class-content {
    grid-template-columns: repeat(1, 1fr);
  }
}

section#mentor {
  position: relative;
  width: 100%;

  display: flex;
  justify-content: center;

  padding-top: 116px;
  padding-bottom: 78px;

  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;

  z-index: 10;

  background-image: url('https://inteligenciaemocional.alinelourenco.com.br/assets/images/background-photo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mentor-content {
  max-width: 1460px;
  display: flex;
  align-items: center;
  justify-content: end;
  z-index: 10;
}

.black-fade {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 40%, #000000 74%);
}

.mentor-description {
  max-width: 50%;
  z-index: 20;
}

.mentor-description p {
  margin-left: 40px;
}

.mentor-name {
  margin-bottom: 20px;
}

.mentor-especialist {
  margin-bottom: 40px;
}

.mentor-especialist-description {
  margin-bottom: 12px;
}

.mentor-class {
  margin-bottom: 34px;
}

.top-right-branch {
  position: absolute;
  height: auto;
  top: -80px;
  right: 0;
  z-index: 20;
}

.bottom-left-branch {
  position: absolute;
  height: auto;
  bottom: -120px;
  left: 0;
  z-index: 20;
}

@media (max-width: 1600px) {
  .top-right-branch {
    width: 177px;
  }

  .bottom-left-branch {
    width: 182px;
    bottom: -50px;
  }
}

@media (max-width: 680px) {
  .mentor-description {
    max-width: 60%;
  }
}

@media (max-width: 580px) {
  section#mentor {
    background-image: url('https://inteligenciaemocional.alinelourenco.com.br/assets/images/background-photo-sm.jpg');
  }

  .mentor-description {
    max-width: 100%;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

footer p {
  margin: 8px;
}

.modal-overlay {
  display: none; /* Modal inicialmente oculto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fundo semi-transparente */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.no-scroll {
  overflow: hidden;
}

/* Estilo para o conteúdo do modal */
.modal-content {
  position: relative;
  background: #263256;
  padding: 10px;
  border-radius: 8px;
  max-width: 768px;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

/* Animações quando o modal está ativo */
.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content.active {
  transform: scale(1);
}

/* Botão de fechamento */
.close-modal-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 0 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 48px;
  line-height: 48px;

  transition: all 0.3s;
}

.close-modal-button:hover {
  transform: scale(1.1);

  color: #fff;
  background-color: transparent;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
