/* =============================
   BASE
============================= */
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  background: url("../images/contato/fundo.webp") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

h1,
h2,
h4,
h5,
h6 {
  font-family: 'Michroma', sans-serif;
  letter-spacing: 1px;
}

.mensagem-sucesso {
  display: none;
  margin-top: 10px;
  color: #07ff07;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  animation: fadeOut 1s ease 4s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Formatação do telefone */
input#telefone {
  letter-spacing: 1px;
}

/* --------------------- ANIMAÇÃO BÁSICA --------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}


/* =============================
   SEÇÃO PRINCIPAL
============================= */
.contato-section {
  width: 100%;
  padding: 80px 20px;
  background-color: rgba(0, 0, 0, 0.2);
  /* overlay */
  box-sizing: border-box;
}

.contato-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

/* =============================
   COLUNA ESQUERDA
============================= */
.contato-info {
  flex: 1;
  min-width: 320px;
}

.contato-info h2 {
  margin-bottom: 25px;
  font-size: 2.2rem;
  color: #40e9bf;
  text-align: center;
}

.info-bloco {
  margin-bottom: 25px;

}

.info-bloco h4 {
  margin: 5px 0;
  font-size: 1.2rem;
  color: #40e9bf;
}

.info-bloco p,
.info-bloco a {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
}

/* =============================
   COLUNA DIREITA - FORMULÁRIO
============================= */
.contato-form {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-sizing: border-box;
  backdrop-filter: blur(4px);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

textarea {
  resize: none;
}

.btn-enviar {
  width: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #3373e4 0%, #40e9bf 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.btn-enviar:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =============================
   RESPONSIVIDADE
============================= */

/* Tablets */
@media (max-width: 992px) {
  .contato-container {
    flex-direction: column;
    align-items: center;
  }

  .contato-info,
  .contato-form {
    width: 90%;
    text-align: center;
  }

  .contato-form {
    margin-top: 40px;
  }
}

/* Celulares */
@media (max-width: 600px) {
  .contato-section {
    padding: 60px 15px;
  }

  .contato-info h2 {
    font-size: 1.8rem;
  }

  .info-bloco h4 {
    font-size: 1rem;
  }

  input,
  textarea {
    font-size: 0.95rem;
  }

  .btn-enviar {
    font-size: 0.95rem;
  }
}

/* Telas muito pequenas (até 400px) */
@media (max-width: 400px) {
  .contato-form {
    padding: 20px;
  }

  .contato-info h2 {
    font-size: 1.6rem;
  }
}