.contato {
  position: relative;
  height: 100vh;
  background: url("img/campo2.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about2-overlay {
  pointer-events: none;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.contato-container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 90%;
  max-width: 1300px;
  align-items: center;
  justify-content: space-between;
}

/* ===== ESQUERDA ===== */
.contato-left {
  width: 45%;
  position: relative;
}

.logo-contato {
  width: 300px;
  margin-bottom: 30px;
  transform: translateY(120px);
  position: relative;
  left: 50px;
}

.phone {
  position: relative;
  width: 360px;
  height: 800px; 
  transform: translateX(-200px);
  top: -30px;
}

/* imagem da tela (fica atrás) */
.screen {
  position: absolute;
  top: 5%;
  left: 7%;
  width: 89%;
  height: 73%;
  object-fit: cover;
  z-index: 1;
  border-radius: 20px;
  transform: translateX(220px);
  transform: translate(220px, -4px);

}
.screen2 {
  position: absolute;
  top: -120px;
  left: -50px;
 
  object-fit: cover;
  z-index: 1;
  border-radius: 20px;
  
  
  width: 120px;
  transform: translate(380px, 300px);
}
/* imagem do celular (fica por cima) */
.frame {
  position: absolute;
  width: 800px;
  height: 700px;
  z-index: 2;
  pointer-events: none;
  transform: translateY(-15px);
}

/* ===== DIREITA ===== */
.contato-right {
  width: 50%;
}

.contato-right h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 28px;
}

.form-box {
  background: #eaeaea;
  padding: 30px;
  border-radius: 10px;
}

.form-box h2 {
  color: #222;
  margin-bottom: 20px;
}

/* INPUTS */
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.input-group {
  display: flex;
  gap: 10px;
}

.input-group input {
  width: 50%;
}

/* BOTÃO */
form button {
  width: 100%;
  padding: 15px;
  border: none;
  background: #3bb54a;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.3s;
}

form button:hover {
  background: #2e8e3a;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .contato-container {
    flex-direction: column;
    gap: 40px;
  }

  .contato-left,
  .contato-right {
    width: 100%;
    text-align: center;
  }

  .input-group {
    flex-direction: column;
  }
}
/* ===== CONTATO MOBILE AJUSTADO DE VERDADE ===== */
@media (max-width: 768px) {

  /* SECTION */
  .contato {
    height: auto; /* IMPORTANTE (remove corte) */
    padding: 40px 20px;
  }

  /* CONTAINER */
  .contato-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  /* ===== ESQUERDA ===== */
  .contato-left {
    width: 100%;
    text-align: center;
  }

  /* LOGO */
  .logo-contato {
    width: 180px;
    margin: 0 auto 20px;
    transform: none;
    left: 0;
  }

  /* CELULAR */
  .phone {
    width: 260px;
    height: auto;
    margin: 0 auto;
    transform: none; /* REMOVE BUG */
    top: 0;
  }

  /* FRAME */
  .frame {
    width: 100%;
    height: auto;
    transform: none;
  }

  /* TELA */
  .screen {
    position: absolute;
    top: 6%;
    left: 7%;
    width: 86%;
    height: 80%;
    transform: none;
  }

  /* LOGO DENTRO DO CELULAR */
  .screen2 {
    position: absolute;
    width: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* ===== DIREITA ===== */
  .contato-right {
    width: 100%;
  }

  .contato-right h1 {
    font-size: 22px;
    text-align: center;
  }

  /* FORM */
  .form-box {
    padding: 20px;
  }

  /* INPUTS */
  .input-group {
    flex-direction: column;
  }

  .input-group input {
    width: 100%;
  }

}
/* ===== CONTATO MOBILE (MOSTRAR TUDO SEM QUEBRAR) ===== */
@media (max-width: 768px) {

  /* SECTION */
  .contato {
    height: auto; /* deixa crescer */
    padding: 40px 20px;
    height: 1400px;
  }

  /* CONTAINER */
  .contato-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  /* ===== ESQUERDA ===== */
  .contato-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* LOGO */
  .logo-contato {
    width: 380px;
    margin: 0 auto;
    transform: none;
    left: 0;
    top: -260px;
  }



  /* ===== DIREITA ===== */
  .contato-right {
    width: 100%;
    top: 150px;
    position: relative;
  }

  .contato-right h1 {
    font-size: 22px;
    text-align: center;
  }

  /* FORM */
  .form-box {
    padding: 20px;
  }

  /* INPUTS */
  .input-group {
    flex-direction: column;
  }

  .input-group input {
    width: 100%;
  }

}
@media (max-width: 768px) {

  /* NÃO ESCONDE MAIS NADA */
  .visual,
  .glow,
  .phone,
  .screen,
  .screen2,
  .frame {
    display: block !important;
  }

  /* HERO organizado */
  .hero {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* BLOCO DO CELULAR */
  .visual {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 40px;
  }

  /* LUZ (FUNDO) */
  .glow {
    position:none;
    width: 500px;
    left: 2000%;
    transform: translateX(-20%) scaleX(-1);
    
    display: none;
  }

  /* CELULAR */
  .phone {
    position: absolute;
    width: 280px; /* MAIOR */
    left: 8%;
    transform: translateX(-50%);
    z-index: 3;
    top: -60px;
  }

  /* IMAGEM DENTRO DO CELULAR */
  .screen {
    position: absolute;
    top: 10%;
    left: 9%;
    width: 83%;
    height: 82%;
    z-index: 2;
    border-radius: 20px;
    transform: none !important;
  }

  /* LOGO DENTRO */
  .screen2 {
    position: absolute;
    width: 80px;
    top: 40%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 4;
  }

  /* MOLDURA DO CELULAR (FICA NA FRENTE) */
  .frame {
    position: relative;
    width: 200%;
    z-index: 5;
    transform: translateX(-140px);
  }

}