/* ══════════════════════════════════════════
   CONTATO PAGE — mobile-first
   ══════════════════════════════════════════ */

/* ── Header ── */
.contato-header {
  background: #fff;
  padding-top: 75px;
}

.contato-header__inner {
  padding-top: 48px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contato-header__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contato-header__heading h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2f2f2f;
  margin: 0;
  line-height: 1.3;
}

.contato-header__sub {
  font-size: 17px;
  color: #626261;
  font-weight: 400;
  margin: 0;
}

/* ── Formulário ── */
.contato-form-section {
  background: #fff;
  padding: 40px 0 80px;
}

.contato-form-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.contato-form-photo {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.contato-form-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form */
.contato-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contato-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-size: 15px;
  color: #2f2f2f;
  font-weight: 400;
}

.form-field input {
  border: 1px solid #8e8e8e;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  color: #2f2f2f;
  background: #fff;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.form-field input::placeholder {
  color: #bfbfbf;
}

.form-field input:focus {
  border-color: var(--red, #e73c38);
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field select {
  border: 1px solid #8e8e8e;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  color: #2f2f2f;
  background: #fff;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238e8e8e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
}

.form-field select:focus {
  border-color: var(--red, #e73c38);
}

.form-field select:invalid {
  color: #bfbfbf;
}

/* Checkboxes */
.contato-form__checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  display: none;
}

.form-check__box {
  width: 18px;
  height: 18px;
  border: 2px solid #8e8e8e;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
  margin-top: 2px;
}

.form-check input[type="checkbox"]:checked ~ .form-check__box {
  background: #4caf50;
  border-color: #4caf50;
}

.form-check input[type="checkbox"]:checked ~ .form-check__box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.form-check__text {
  font-size: 12px;
  color: #2f2f2f;
  line-height: 1.5;
}

.form-check__text a {
  color: #2f2f2f;
  text-decoration: underline;
}

/* Submit */
.contato-form__submit {
  align-self: flex-start;
  padding: 14px 28px;
  gap: 10px;
  border-radius: 4px;
}

/* ── Divisória ── */
.contato-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 60px;
}

/* ── Redes sociais ── */
.contato-social {
  padding-bottom: 80px;
}

.contato-social__banner {
  background: linear-gradient(to right, #2f2f2f, #eb5650);
  border-radius: 8px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contato-social__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}

.contato-social__icons {
  display: flex;
  gap: 32px;
  align-items: center;
}

.contato-social__icons a {
  display: flex;
  width: 44px;
  height: 44px;
  opacity: .85;
  transition: opacity .2s;
}

.contato-social__icons a:hover {
  opacity: 1;
}

.contato-social__icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ══════════════════════════════════════════
   TABLET  ≥ 768px
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
  .contato-header__heading h1 {
    font-size: 32px;
  }

  .contato-form__fields {
    grid-template-columns: 1fr 1fr;
  }

  .contato-social__banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 48px 60px;
  }

  .contato-social__title {
    text-align: left;
  }
}

/* ══════════════════════════════════════════
   DESKTOP  ≥ 1024px
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .contato-header__inner {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .contato-header__heading h1 {
    font-size: 36px;
  }

  .contato-form-section {
    padding: 60px 0 100px;
  }

  .contato-form-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }

  .contato-form-photo {
    width: 420px;
    aspect-ratio: auto;
    min-height: 480px;
  }

  .contato-form {
    flex: 1;
  }

  .contato-form__fields {
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
  }

  .contato-social__banner {
    padding: 56px 80px;
  }

  .contato-social__title {
    font-size: 24px;
  }

  .contato-social__icons a {
    width: 48px;
    height: 48px;
  }
}

/* ══════════════════════════════════════════
   WIDE  ≥ 1280px
   ══════════════════════════════════════════ */
@media (min-width: 1280px) {
  .contato-header__heading h1 {
    font-size: 40px;
  }

  .contato-form-photo {
    width: 500px;
    min-height: 520px;
  }

  .contato-social__banner {
    padding: 64px 94px;
  }

  .contato-social__title {
    font-size: 28px;
  }

  .contato-social__icons a {
    width: 50px;
    height: 50px;
  }
}
