* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

/* Hero Section */
.hero-section {
  background: #303030;
  color: #ffffff;
  padding: 206px 0 0 62px;
  min-height: 475px;
}

.hero-title {
  font-weight: 600;
  font-size: 60px;
  line-height: 72px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 20px;
  line-height: 38px;
}

/* Statistics Section */
.stats-section {
  background-color: #f9f9f9;
  min-height: 229px;

  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #f9f9f9;
  padding: 40px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-weight: 600;
  font-size: 40px;
}

.stat-description {
  font-weight: 400;
  font-size: 20px;
  margin-top: 8px;
}

/* About Section */
.about-section {
  display: flex;
  padding: 75px 50px 90px 75px;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
}

#about-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 1.5rem;
}

#about-text {
  color: #000;
  line-height: 30px;
  font-size: 24px;
  font-weight: 300;
}

#image-content {
  /* position: relative; */
  margin-left: auto;
}

#image-content {
  /* Começa transparente */
  opacity: 0;
  /* Define uma transição suave para a opacidade */
  transition: opacity 0.5s ease-in-out;
}
#image-content.loaded {
  /* Fica totalmente visível quando carregada */
  opacity: 1;
}

/* Contact Section */
.contact-section {
  min-height: 550px;
  background-color: #303030;
  padding: 65px 75px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#contact-tile {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

/* Form Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 50px;
  gap: 30px;
}

.form-input {
  width: 500px;
  height: 65px;
  border: none;
  border-radius: 10px;
  padding-left: 20px;
  font-size: 24px;
  font-weight: bold;
}
.form-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.submit-button {
  margin-top: 40px;
  width: 270px;
  height: 60px;
  background-color: #c07212;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.submit-button:hover {
  transform: scale(1.1);
}

.submit-button:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  transform: scale(1);
}

/* Footer */
footer {
  background-color: #303030;
  padding: 15px 0;
  text-align: center;
}

#footer-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  width: auto;
}

.toast {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background-color: #28a745;
}

.toast-error {
  background-color: #dc3545;
}

/* ============== RESPONSIVIDADE ============== */
/* Aqui está um resumo das principais alterações que o código fará:
Seção Hero: Centraliza o texto e diminui as fontes.
Seção de Estatísticas: Empilha os números um sobre o outro.
Seção Sobre: Coloca a imagem embaixo do texto e ajusta os tamanhos.
Formulário de Contato: Faz com que os campos de input ocupem quase toda a largura da tela, para facilitar o preenchimento. */

@media (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 100px 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 50px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  /* Statistics Section */
  .stats-section {
    flex-direction: column;
    gap: 30px;
    padding: 50px 20px;
  }

  .stat-item {
    align-items: center;
  }

  /* About Section */
  .about-section {
    flex-direction: column-reverse; /* Imagem primeiro, depois texto */
    padding: 50px 20px;
    text-align: center;
  }

  #image-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px auto; /* Margem para separar da seção de cima */
  }

  #about-title {
    font-size: 32px;
  }

  #about-text {
    font-size: 18px;
    line-height: 28px;
  }

  /* Contact Section */
  .contact-section {
    padding: 50px 20px;
    text-align: center;
  }

  #contact-tile {
    font-size: 28px;
  }

  .form-input {
    width: 90%;
    font-size: 18px;
  }

  .submit-button {
    width: 220px;
    font-size: 20px;
  }
}
