/* HERO CONTATO */

.contact-hero {
  width: 88%;
  max-width: 1400px;
  margin: 100px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.contact-hero > *, .form-grid > * { min-width: 0; }
.form-help, #form-status { color: #555; line-height: 1.6; }
.email-address { display: inline-block; padding: 8px 0; color: #222; overflow-wrap: anywhere; }
.contact-form-section button[type="submit"] { display: block; min-height: 44px; }
.social-card { min-height: 44px; }
.social-card span { flex-shrink: 0; }

.contact-left h1 {
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 1;
  margin-bottom: 24px;
  color: #303030;
}

.contact-left > p {
  max-width: 620px;
  font-size: 30px;
  line-height: 1.6;
  color: #666;
}

.contact-right img {
  width: 100%;
  max-width: 520px;
  display: block;
  margin-left: auto;
  border-radius: 16px;
}

/* SOCIAL */

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 26px;
  margin-top: 50px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  transition: .3s;
}

.social-card span {
  width: 72px;
  height: 72px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 34px;
  font-weight: bold;
}

.social-card:hover {
  transform: translateY(-6px);
}

.linkedin span { background: #0077b5; }
.instagram span { background: #ff0080; }
.github span { background: #24292f; }

.linkedin p { color: #0077b5; }
.instagram p { color: #bd005f; }
.github p { color: #24292f; }

/* FORM */

.contact-form-section {
  background: #fff;
  padding: 90px 0;
}

.form-container {
  width: 88%;
  max-width: 1200px;
  margin: 0 auto;
}

.form-container h2 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 45px;
  color: #222;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.contact-form-section label {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #f9f9f9;
  padding: 16px;
  font-size: 18px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.contact-form-section textarea {
  min-height: 194px;
  resize: vertical;
}

.contact-form-section button[type="submit"] {
  margin-top: 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.contact-form-section button[type="submit"]:hover {
  transform: translateY(-3px);
  opacity: .85;
}

/* RESPONSIVO */

@media(max-width:1000px) {

  .contact-hero {
    grid-template-columns: 1fr;
    margin: 60px auto;
  }

  .contact-left h1 {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .contact-left > p {
    font-size: 22px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 500px) {
  .contact-hero { gap: 36px; }
  .contact-left > p { font-size: 20px; }
  .form-container h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .contact-form-section { padding: 60px 0; }
  .form-grid { gap: 0; }
}
