/* Versão 1.0.0 */

.pagina-hero-contato {
  background-image: var(--bg-hero-contato);
}

.pagina-hero-contato .hero-titulo {
  font-size: 38px;
  font-weight: 600;
  max-width: 800px;
  line-height: 1.3;

  @media only screen and (max-width: 768px) {
    font-size: 28px;
  }

  @media only screen and (max-width: 480px) {
    font-size: 24px;
  }
}

.contato-section {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

.contato-section .contato-header {
  padding-right: 20px;

  @media only screen and (max-width: 768px) {
    padding-right: 0;
    margin-bottom: 40px;
  }

  & .suptitulo {
    color: var(--cor-fundo);
    border-left-color: var(--cor-fundo);
    margin-bottom: 10px;
  }

  & .titulo {
    color: #1f1e1f;
    font-size: 32px;
    margin-bottom: 16px;

    @media only screen and (max-width: 768px) {
      font-size: 28px;
    }
  }

  & .contato-descricao {
    font-size: 16px;
    color: #6d6a6a;
    line-height: 1.7;
    margin-bottom: 32px;
  }

  & .contato-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;

    & p {
      margin-bottom: 12px;
      font-size: 15px;
      color: #4a4a4a;
      line-height: 1.6;

      & i {
        color: var(--cor-fundo);
        margin-right: 10px;
        width: 18px;
        text-align: center;
      }

      & a {
        color: #4a4a4a;
        text-decoration: none;
        transition: color 0.2s;

        &:hover {
          color: var(--cor-fundo);
        }
      }
    }
  }
}

.contato-form {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;

  @media only screen and (max-width: 768px) {
    padding: 28px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }

  & .form-row {
    margin-bottom: 24px;

    &.form-row-duo {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;

      @media only screen and (max-width: 600px) {
        grid-template-columns: 1fr;
      }
    }

    &.form-row-privacidade {
      margin-top: 8px;
      margin-bottom: 24px;
    }

    &.form-row-submit {
      margin-bottom: 0;
      margin-top: 8px;
    }
  }

  & .field {
    & label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #2c2c2c;
      margin-bottom: 8px;
      letter-spacing: 0.3px;

      & .required {
        color: #e74c3c;
      }
    }

    & input[type="text"],
    & input[type="email"],
    & input[type="tel"],
    & textarea {
      width: 100%;
      padding: 14px 18px;
      font-size: 15px;
      border: 2px solid #e5e5e5;
      border-radius: 10px;
      background: #fafafa;
      color: #2c2c2c;
      transition: all 0.25s ease;
      font-family: inherit;

      &:focus {
        outline: none;
        border-color: var(--cor-fundo);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(182, 115, 40, 0.08);
      }

      &::placeholder {
        color: #9e9e9e;
      }
    }

    & textarea {
      resize: vertical;
      min-height: 120px;
    }
  }

  & .texto-privacidade {
    font-size: 13px;
    color: #6d6a6a;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  & .field-checkbox {
    margin-bottom: 0;

    & .checkbox-label {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 14px;
      font-weight: 500;
      color: #4a4a4a;
      cursor: pointer;

      & input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-top: 2px;
        accent-color: var(--cor-fundo);
        cursor: pointer;
      }
    }
  }

  & .btn-enviar {
    width: 100%;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--cor-fundo) 0%, #9a6020 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(182, 115, 40, 0.35);

    &:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(182, 115, 40, 0.4);
    }

    &:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    & i {
      font-size: 14px;
      transition: transform 0.3s;
    }

    &:hover:not(:disabled) i {
      transform: translateX(4px);
    }
  }
}

.contato-mapa-section {
  margin-top: 0;
}

.contato-mapa-section .mapa-wrapper {
  width: 100%;
  height: 420px;
  overflow: hidden;

  @media only screen and (max-width: 768px) {
    height: 320px;
  }

  & iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(15%);
  }
}
